about summary refs log tree commit diff
path: root/library/std/src/sync
AgeCommit message (Expand)AuthorLines
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-12/+12
2024-09-20Auto merge of #124895 - obeis:static-mut-hidden-ref, r=compiler-errorsbors-0/+3
2024-09-18Rollup merge of #130476 - workingjubilee:more-lazy-methods-take-2, r=AmanieuJubilee-6/+142
2024-09-18library: Call it really_init_mut to avoid name collisionsJubilee Young-2/+2
2024-09-18library: Destabilize Lazy{Cell,Lock}::{force,deref}_mutJubilee Young-14/+3
2024-09-17Implement ACP 429: add `Lazy{Cell,Lock}::get[_mut]` and `force_mut`Chayim Refael Friedman-7/+154
2024-09-16fix: Remove duplicate `LazyLock` example.Andrew Lilley Brinker-2/+0
2024-09-13Update tests for hidden references to mutable staticObei Sideg-0/+3
2024-09-06Adjust doc comment of Condvar::wait_whileUlrik Mikaelsson-2/+6
2024-09-03Rollup merge of #129885 - cuishuang:master, r=scottmcmMatthias Krüger-1/+1
2024-09-02Rollup merge of #129890 - alex:patch-1, r=workingjubileeMatthias Krüger-1/+1
2024-09-02Remove stray word in a commentAlex Gaynor-1/+1
2024-09-02Auto merge of #129873 - matthiaskrgr:rollup-bv849ud, r=matthiaskrgrbors-1/+1
2024-09-02chore: remove repetitive wordscuishuang-1/+1
2024-08-31Fixed some typos in the standard library documentation/commentsranger-ross-1/+1
2024-08-14apply #[optimize(size)] to #[cold] ones and part of the panick machineryThe 8472-0/+1
2024-08-08rwlock: disable 'frob' test in Miri on macOSRalf Jung-0/+4
2024-08-01Auto merge of #128461 - matthiaskrgr:rollup-3dpp11g, r=matthiaskrgrbors-3/+3
2024-08-01Rollup merge of #127567 - joboet:once_wait, r=AmanieuMatthias Krüger-0/+116
2024-07-31Fix docs for OnceLock::get_mut_or_initJuniper Tyree-3/+3
2024-07-31std: fix busy-waiting in `Once::wait_force`, add more testsjoboet-0/+47
2024-07-31std: implement the `once_wait` featurejoboet-0/+69
2024-07-30More detailed note to deprecate ONCE_INITLiigo Zhuang-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-52/+30
2024-07-26Fix doc nitsJohn Arundel-6/+6
2024-07-18Rollup merge of #124881 - Sp00ph:reentrant_lock_tid, r=joboetMatthias Krüger-23/+115
2024-07-18Update `ReentrantLock` implementation, add `CURRENT_ID` thread local.Markus Everling-23/+115
2024-07-14std: Unsafe-wrap std::syncJubilee Young-41/+54
2024-07-14std: deny(unsafe_op_in_unsafe_fn) but allow sitesJubilee Young-0/+1
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