summary refs log tree commit diff
path: root/library/std/src/sys/sync
AgeCommit message (Expand)AuthorLines
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
2024-07-16clean unsafe op in unsafe fn袁浩----天命剑主-4/+4
2024-07-15Remove PSRWLOCKChris Denton-1/+1
2024-07-15Remove LPVOIDChris Denton-4/+5
2024-06-20Add blank lines after module-level `//!` comments.Nicholas Nethercote-0/+3
2024-06-04Windows: Use futex implementation for `Once`Timo Kröger-0/+1
2024-05-02std: move thread parking to `sys::sync`joboet-0/+1041
2024-04-28Use `target_vendor = "apple"` instead of `target_os = "..."`Mads Marquart-18/+6
2024-04-16Rollup merge of #123811 - joboet:queue_em_up, r=ChrisDentonGuillaume Gomez-364/+6
2024-04-13Add missing `unsafe` to internal `std::thread::Thread` creation functionsbeetrees-1/+1
2024-04-11std: use queue-based `RwLock` on Windows 7joboet-50/+6
2024-04-11std: use queue-based `RwLock` on Xousjoboet-74/+0
2024-04-11std: use queue-based `RwLock` on SGXjoboet-240/+0
2024-04-05Rollup merge of #121419 - agg23:xrOS-pr, r=davidtwcoGuillaume Gomez-0/+3
2024-03-31std: move `thread::current` TLS variable out of `thread_info`joboet-4/+2
2024-03-19SeqCst->{Release,Acquire} in xous mutex.Mara Bos-4/+7
2024-03-18Support for visionOSAdam Gastineau-0/+3
2024-03-12std: move `Once` implementations to `sys`joboet-0/+3799