rust/library/std/src/sys/sync
Chayim Refael Friedman d0a2ca4867 Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut
In the implementation of `force_mut`, I chose performance over safety.
For `LazyLock` this isn't really a choice; the code has to be unsafe.
But for `LazyCell`, we can have a full-safe implementation, but it will
be a bit less performant, so I went with the unsafe approach.
2024-09-17 09:40:34 -07:00
..
condvar Reformat use declarations. 2024-07-29 08:26:52 +10:00
mutex Reformat use declarations. 2024-07-29 08:26:52 +10:00
once Implement ACP 429: add Lazy{Cell,Lock}::get[_mut] and force_mut 2024-09-17 09:40:34 -07:00
rwlock Reformat use declarations. 2024-07-29 08:26:52 +10:00
thread_parking Reformat use declarations. 2024-07-29 08:26:52 +10:00
mod.rs std: move thread parking to sys::sync 2024-05-02 12:38:26 +02:00