about summary refs log tree commit diff
path: root/library/std/src/sys/sync
AgeCommit message (Expand)AuthorLines
2025-09-03thread parking: fix docs and examplesRalf Jung-1/+3
2025-08-16library: Migrate from `cfg_if` to `cfg_select`Josh Triplett-45/+70
2025-07-13Add comment why we use zero for COMPLETEOrson Peters-1/+4
2025-07-13Use zero for initialized Once stateOrson Peters-8/+8
2025-05-28Add comments to diagnostic itemsPatrick-6-0/+6
2025-05-28Make pthread Mutex internals less publicPatrick-6-1/+1
2025-05-28Add diagnostic items to sys::MutexPatrick-6-0/+6
2025-05-05collect all Fuchsia bindings into the `fuchsia` modulejoboet-3/+3
2025-04-27use generic Atomic type where possibleChristopher Durham-33/+33
2025-02-19Fix `*-win7-windows-msvc` target since 26eeac1a1e9fe46ffd80dd0d3dafdd2c2a644306Li Keqing-5/+5
2025-02-09Mark extern blocks as unsafeMichael Goulet-1/+1
2025-01-08Rollup merge of #134389 - rust-wasi-web:condvar-no-threads, r=m-ou-seJacob Pratt-2/+4
2025-01-02Move some things to `std::sync::poison` and reexport them in `std::sync`Pavel Grigorenko-3/+3
2024-12-18Implement Condvar::wait_timeout for targets without threadsSebastian Urban-2/+4
2024-12-01Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubileeMatthias Krüger-438/+133
2024-11-30std: clarify comments about initializationjoboet-2/+2
2024-11-27update cfgsBoxy-5/+0
2024-11-18std: allow after-main use of synchronization primitivesjoboet-8/+7
2024-11-16fix `DOWNGRADED` bit unpreservedConnor Tsui-2/+2
2024-11-16fix memory ordering bug + bad testConnor Tsui-1/+1
2024-11-16add safety comments for queue implementationConnor Tsui-13/+25
2024-11-16add `downgrade` to `queue` implementationConnor Tsui-70/+206
2024-11-16modify queue implementation documentationConnor Tsui-191/+214
2024-11-16add `downgrade` to `futex` implementationConnor Tsui-5/+47
2024-11-16add simple `downgrade` implementationsConnor Tsui-0/+17
2024-10-29xous: sync: remove `rustc_const_stable` attributeSean Cross-2/+0
2024-10-28std: refactor `pthread`-based synchronizationjoboet-438/+133
2024-10-28we can now enable the 'const stable fn must be stable' checkRalf Jung-4/+4
2024-10-25Auto merge of #131349 - RalfJung:const-stability-checks, r=compiler-errorsbors-1/+1
2024-10-25Re-do recursive const stability checksRalf Jung-1/+1
2024-10-25library: consistently use American spelling for 'behavior'Ralf Jung-10/+10
2024-10-17Abstract the state type for futexesPaul Menage-45/+42
2024-10-16relax a memory order in `once_box`Slanterns-2/+2
2024-10-13sys/unix: add comments for some Miri fallbacksRalf Jung-0/+1
2024-10-05Rollup merge of #131094 - joboet:lazy_once_box, r=ibraheemdevMatthias Krüger-195/+185
2024-10-02std: make `thread::current` available in all `thread_local!` destructorsjoboet-2/+4
2024-10-01std: replace `LazyBox` with `OnceBox`joboet-195/+185
2024-09-25Use `&raw` in the standard libraryJosh Stone-7/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-16/+16
2024-09-17Implement ACP 429: add `Lazy{Cell,Lock}::get[_mut]` and `force_mut`Chayim Refael Friedman-0/+27
2024-07-31std: fix busy-waiting in `Once::wait_force`, add more testsjoboet-4/+8
2024-07-31std: implement the `once_wait` featurejoboet-94/+178
2024-07-29Reformat `use` declarations.Nicholas Nethercote-68/+49
2024-07-26Fix doc nitsJohn Arundel-9/+9
2024-07-20Rollup merge of #127873 - workingjubilee:forbid-unsafe-ops-for-kmc-solid, r=A...Matthias Krüger-0/+2
2024-07-19kmc-solid: forbid(unsafe_op_in_unsafe_fn)Jubilee Young-0/+2
2024-07-17Auto merge of #125942 - timokroeger:windows-once-futex, r=ChrisDentonbors-0/+1
2024-07-17Prevent double reference in generic futexChris Denton-1/+1
2024-07-16Rollup merge of #127807 - ChrisDenton:win-parking, r=joboetTrevor Gross-26/+19
2024-07-16Use futex.rs for Windows thread parkingChris Denton-26/+19