rust/library/std/src/sys/sync/mutex
Matthias Krüger fe4c6e8657
Rollup merge of #128184 - joboet:refactor_pthread_sync, r=workingjubilee
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 an `unsafe` wrapper type for `pthread_mutex_t` and `pthread_condvar_t`.
2024-12-01 08:15:21 +01:00
..
fuchsia.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
futex.rs Abstract the state type for futexes 2024-10-17 12:21:53 -07:00
itron.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
mod.rs std: replace LazyBox with OnceBox 2024-10-01 22:05:35 +02:00
no_threads.rs update cfgs 2024-11-27 15:14:54 +00:00
pthread.rs std: clarify comments about initialization 2024-11-30 16:22:56 +01:00
sgx.rs std: refactor pthread-based synchronization 2024-10-28 16:56:22 +01:00
windows7.rs Remove PSRWLOCK 2024-07-15 05:01:22 +00:00
xous.rs xous: sync: remove rustc_const_stable attribute 2024-10-29 22:43:46 +08:00