about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2024-07-13Rollup merge of #127446 - zachs18:miri-stdlib-leaks-core-alloc, r=Mark-Simula...Jubilee-0/+3
2024-07-11Rename `lazy_cell_consume` to `lazy_cell_into_inner`Trevor Gross-2/+2
2024-07-07once_lock: make test not take as long in MiriRalf Jung-6/+13
2024-07-06Remove non-focused memory leak in `std` doctest for Miri.Zachary S-0/+3
2024-06-18Replace `move||` with `move ||` in `compiler/` and `library/`Vonr-15/+15
2024-06-15std: suggest OnceLock over OnceJubilee Young-4/+14
2024-06-11replace version placeholderPietro Albini-12/+12
2024-06-04Rollup merge of #125696 - workingjubilee:please-dont-say-you-are-lazy, r=Nils...Guillaume Gomez-59/+73
2024-06-04Rollup merge of #125504 - mqudsi:once_nominal, r=cuviper许杰友 Jieyou Xu (Joe)-1/+1
2024-06-02Add "OnceList" example to motivate OnceLockJubilee Young-0/+55
2024-06-02Move first OnceLock example to LazyLockJubilee Young-58/+14
2024-06-02Differ LazyLock vs. OnceLock in std::sync overviewJubilee Young-1/+4
2024-05-28update tracking issue for lazy_cell_consumeTrevor Spiteri-1/+1
2024-05-24Change pedantically incorrect OnceCell/OnceLock wordingMahmoud Al-Qudsi-1/+1
2024-04-22remove an unused type from the reentrant lock testsRalf Jung-8/+1
2024-04-06Rollup merge of #114788 - tisonkun:get_mut_or_init, r=dtolnayMatthias Krüger-0/+81
2024-03-27impl get_mut_or_init and get_mut_or_try_init for OnceCell and OnceLocktison-0/+81
2024-03-26Update `RwLock` deadlock example to not use shadowingTrevor Gross-6/+7
2024-03-22docs(sync): normalize dot in fn summariesMultisampledNight-2/+2
2024-03-20Rollup merge of #122729 - m-ou-se:relax, r=AmanieuJacob Pratt-2/+2
2024-03-20SeqCst->Relaxed in condvar test.Mara Bos-2/+2
2024-03-19branch 1.78: replace-version-placeholderMark Rousskov-1/+1
2024-03-13Rollup merge of #122386 - joboet:move_pal_once, r=jhprattMatthias Krüger-5/+5
2024-03-12std: move `Once` implementations to `sys`joboet-5/+5
2024-03-12Use `min_exhaustive_patterns` in core & stdNadrieril-0/+8
2024-03-01Rollup merge of #121736 - HTGAzureX1212:HTGAzureX1212/remove-mutex-unlock, r=...Matthias Krüger-20/+0
2024-02-29fix typosIbraheem Ahmed-3/+3
2024-02-29document potential memory leak in unbounded channelIbraheem Ahmed-0/+3
2024-02-29Rollup merge of #110543 - joboet:reentrant_lock, r=m-ou-seMatthias Krüger-197/+340
2024-02-28remove Mutex::unlockHTGAzureX1212.-20/+0
2024-02-26fix race between block initialization and receiver disconnectionIbraheem Ahmed-2/+2
2024-02-25Auto merge of #117107 - zachs18:mapped-mutex-guard, r=Amanieubors-4/+985
2024-02-24library: use `addr_of!`Pavel Grigorenko-2/+6
2024-02-23Apply suggestions from code reviewzachs18-3/+3
2024-02-23Auto merge of #119536 - Jules-Bertholet:const-barrier, r=dtolnaybors-1/+3
2024-02-23std: make `ReentrantLock` publicjoboet-197/+340
2024-02-20Stabilize `LazyCell` and `LazyLock` (`lazy_cell`)Peter Jaszkowiak-19/+24
2024-05-24Add manual Sync impl for ReentrantLockGuardJacob Lifshay-0/+3
2024-02-14Auto merge of #121078 - oli-obk:rollup-p11zsav, r=oli-obkbors-1/+1
2024-02-14Auto merge of #100603 - tmandry:zst-guards, r=dtolnaybors-2/+49
2024-02-14Fix typos in `OneLock` docIgor-1/+1
2024-02-08Bump version placeholdersMark Rousskov-2/+2
2024-01-14std: Doc blocking behavior of LazyLock methodsBehnam Esfahbod-6/+15
2024-01-10Stabilize mutex_unpoison featureThayne McCombs-6/+2
2024-01-02Make `Barrier::new()` constJules Bertholet-1/+3
2023-12-10Auto merge of #118692 - surechen:remove_unused_imports, r=petrochenkovbors-2/+0
2023-12-10remove redundant importssurechen-2/+0
2023-12-10Fix typo in `std::sync::Mutex` examplenaglis-1/+1
2023-12-08OnceLock: Rework example, statics aren't droppedIan Rees-14/+25
2023-12-05fmtZachary S-4/+1