about summary refs log tree commit diff
path: root/library/std/src/sync/once_lock.rs
AgeCommit message (Expand)AuthorLines
2025-05-28Clarify &mut-methods' docs on sync::OnceLockLukas Lueg-5/+13
2025-05-08Update documentation of OnceLock::get_or_init.Luca Versari-1/+1
2025-02-18update version placeholdersJosh Stone-1/+1
2025-02-04Rollup merge of #135621 - bjorn3:move_tests_to_stdtests, r=NoratriebJacob Pratt-3/+0
2025-02-03Rollup merge of #136289 - Pyr0de:oncecell-docs, r=tgross35Matthias Krüger-29/+36
2025-02-03OnceCell & OnceLock docs: Using (un)initialized consistentlyPyrode-29/+36
2025-02-01stabilize `once_wait`Slanterns-3/+1
2025-01-26Move std::sync unit tests to integration testsbjorn3-3/+0
2025-01-02Move some things to `std::sync::poison` and reexport them in `std::sync`Pavel Grigorenko-0/+1
2024-10-21Document PartialEq impl for OnceLockDavid Ross-0/+20
2024-09-02Remove stray word in a commentAlex Gaynor-1/+1
2024-08-14apply #[optimize(size)] to #[cold] ones and part of the panick machineryThe 8472-0/+1
2024-08-01Auto merge of #128461 - matthiaskrgr:rollup-3dpp11g, r=matthiaskrgrbors-3/+3
2024-07-31Fix docs for OnceLock::get_mut_or_initJuniper Tyree-3/+3
2024-07-31std: implement the `once_wait` featurejoboet-0/+28
2024-07-26Fix doc nitsJohn Arundel-1/+1
2024-07-14std: Unsafe-wrap std::syncJubilee Young-2/+2
2024-07-07once_lock: make test not take as long in MiriRalf Jung-6/+13
2024-06-04Rollup merge of #125696 - workingjubilee:please-dont-say-you-are-lazy, r=Nils...Guillaume Gomez-36/+55
2024-06-02Add "OnceList" example to motivate OnceLockJubilee Young-0/+55
2024-06-02Move first OnceLock example to LazyLockJubilee Young-36/+0
2024-05-24Change pedantically incorrect OnceCell/OnceLock wordingMahmoud Al-Qudsi-1/+1
2024-03-27impl get_mut_or_init and get_mut_or_try_init for OnceCell and OnceLocktison-0/+81
2024-02-14Fix typos in `OneLock` docIgor-1/+1
2023-12-08OnceLock: Rework example, statics aren't droppedIan Rees-14/+25
2023-11-25Update `OnceLock` documentation to give a concrete 'lazy static' example, and...Corey Farwell-9/+41
2023-10-13Implement `OnceCell/Lock::try_insert()`daxpedda-3/+40
2023-07-31Rollup merge of #109318 - joboet:better_fmt_placeholder, r=dtolnayMatthias Krüger-3/+5
2023-04-28replace version placeholdersPietro Albini-20/+20
2023-04-19std: make `Debug` representations of `[Lazy, Once]*[Cell, Lock]` consistent w...joboet-3/+5
2023-04-16rm const traits in libcoreDeadbeef-2/+1
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-37/+22
2022-12-13Add #[inline] marker to OnceCell/LazyCell/OnceLock/LazyLockTrevor Gross-1/+16
2022-11-17Properly link `{Once,Lazy}{Cell,Lock}` in docsMaybe Waffle-2/+4
2022-09-03std: make `ReentrantMutex` movable and `const`; simplify `Stdout` initializationjoboet-55/+0
2022-06-16Move/rename `lazy::Sync{OnceCell,Lazy}` to `sync::{Once,Lazy}Lock`Maybe Waffle-0/+496