rust/library/std/src/sys/sync
joboet 528b37a738
std: refactor pthread-based synchronization
The non-trivial code for `pthread_condvar` is duplicated across the thread parking and the `Mutex`/`Condvar` implementations. This PR moves that code into `sys::pal`, which now exposes a non-movable wrapper type for `pthread_mutex_t` and `pthread_condvar_t`.
2024-10-28 16:56:22 +01:00
..
condvar std: refactor pthread-based synchronization 2024-10-28 16:56:22 +01:00
mutex std: refactor pthread-based synchronization 2024-10-28 16:56:22 +01:00
once Re-do recursive const stability checks 2024-10-25 20:31:40 +02:00
rwlock library: consistently use American spelling for 'behavior' 2024-10-25 12:02:47 +02:00
thread_parking std: refactor pthread-based synchronization 2024-10-28 16:56:22 +01:00
mod.rs std: replace LazyBox with OnceBox 2024-10-01 22:05:35 +02:00
once_box.rs std: refactor pthread-based synchronization 2024-10-28 16:56:22 +01:00