about summary refs log tree commit diff
path: root/src/libstd/sync/once.rs
AgeCommit message (Expand)AuthorLines
2020-04-26Use Cell::take in a couple placesThinkChaos-1/+1
2020-03-15Fix "since" field for `Once::is_complete`'s `#[stable]` attributeLukas Kalbertodt-1/+1
2020-02-07Stabilize Once::is_completedMichael Bradshaw-6/+5
2019-12-18Propagate cfg bootstrapMark Rousskov-1/+1
2019-12-13Require stable/unstable annotations for the constness of all stable functions...Oliver Scherer-0/+1
2019-11-09Run rustfmt on libstd/sync/once.rsPaul Dicker-32/+29
2019-11-05Don't mutate node.nextPaul Dicker-36/+34
2019-10-25Mention park guaranteePaul Dicker-0/+4
2019-10-24Always align Waiter to 4 bytesPaul Dicker-0/+1
2019-10-24Use more precise atomic orderingsPaul Dicker-12/+41
2019-10-24In Waiter use interior mutability for threadPaul Dicker-9/+19
2019-10-24Reduce the amount of comments in call_innerPaul Dicker-19/+6
2019-10-24Move thread parking to a seperate functionPaul Dicker-38/+42
2019-10-24Turn Finish into WaiterQueuePaul Dicker-23/+21
2019-10-23Don't mutate waiter nodesPaul Dicker-9/+9
2019-10-23Simplify loop conditions in RUNNING and add commentsPaul Dicker-17/+29
2019-10-23Rename state to state_and_queuePaul Dicker-28/+29
2019-10-16Don't recommend ONCE_INIT in std::sync::Onceboyned//Kampfkarren-3/+2
2019-06-12Deprecate ONCE_INITSteven Fackler-0/+5
2019-03-31libstd: deny(elided_lifetimes_in_paths)Mazdak Farrokhzad-1/+1
2019-02-28libstd => 2018Taiki Endo-8/+8
2019-02-20Rollup merge of #58553 - scottmcm:more-ihle, r=Centrilkennytm-1/+1
2019-02-17Use more impl header lifetime elisionScott McMurray-1/+1
2019-02-10libs: doc commentsAlexander Regueiro-3/+3
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-2/+2
2018-10-23fix typos in various placesMatthias Krüger-2/+2
2018-10-07Fix tracking issue for Once::is_completedSimon Sapin-1/+1
2018-09-29Fix Once perf regressionAleksey Kladov-0/+1
2018-09-05Auto merge of #53027 - matklad:once_is_completed, r=alexcrichtonbors-14/+59
2018-08-19Fix typos found by codespell.Matthias Krüger-1/+1
2018-08-09Reduce code duplication in OnceAleksey Kladov-14/+18
2018-08-06Remove references to `StaticMutex` which got removed a while agoRalf Jung-6/+4
2018-08-03Fix trailnig WSAleksey Kladov-1/+1
2018-08-03Allow to check if sync::Once is initializedAleksey Kladov-0/+41
2018-08-03Specify reentrancy gurantees of `Once::call_once`Aleksey Kladov-0/+4
2018-07-25Merge remote-tracking branches 'ljedrz/dyn_libcore', 'ljedrz/dyn_libstd' and ...Tatsuyuki Ishi-1/+1
2018-07-17sync::Once: Use Acquire on the hot path, and explain why we don't use it else...Ralf Jung-2/+10
2018-07-10remove sync::Once::call_once 'staticChristopher Durham-6/+6
2018-07-10Deny bare trait objects in `src/libstd`.ljedrz-1/+1
2018-05-24Update the `Once` docs to use `Once::new`Tobias Bucher-10/+10
2018-05-24Add `Once::new` as a way of constructing a `Once`Tobias Bucher-1/+2
2017-11-26Stabilize const-calling existing const-fns in stdSimon Sapin-1/+0
2017-10-26Bump to 1.23 and update bootstrapAlex Crichton-1/+1
2017-10-22Improve docs around `Once::call_once_force` and `OnceState`.Corey Farwell-13/+81
2017-09-16change #![feature(const_fn)] to specific gatesAlex Burka-0/+1
2017-08-15Fix typos & us spellingsFourchaux-1/+1
2017-08-01Fixed all unnecessary muts in language coreIsaac van Bakel-1/+1
2017-03-29Adding linking for Once docs #29377projektir-8/+29
2017-02-15Fix wording in LocalKey documentationStjepan Glavina-1/+1