rust/library/std/src/sys
Matthias Krüger c5df2f02d3
Rollup merge of #98707 - joboet:fuchsia_locks, r=m-ou-se
std: use futex-based locks on Fuchsia

This switches `Condvar` and `RwLock` to the futex-based implementation currently used on Linux and some BSDs. Additionally, `Mutex` now has its own, priority-inheriting implementation based on the mutex in Fuchsia's `libsync`. It differs from the original in that it panics instead of aborting when reentrant locking is detected.

````@rustbot```` ping fuchsia
r? ````@m-ou-se````
2022-07-21 18:42:02 +02:00
..
common resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
hermit Hermit: Make Mutex::init a no-op 2022-06-26 23:20:41 +02:00
itron Rollup merge of #97140 - joboet:solid_parker, r=m-ou-se 2022-06-26 19:46:59 +02:00
sgx Address reviewer comments 2022-06-22 13:49:12 +02:00
solid Rollup merge of #97140 - joboet:solid_parker, r=m-ou-se 2022-06-26 19:46:59 +02:00
unix Rollup merge of #98707 - joboet:fuchsia_locks, r=m-ou-se 2022-07-21 18:42:02 +02:00
unsupported Make all {Mutex, Condvar, RwLock}::new #[inline]. 2022-06-06 13:49:23 +02:00
wasi Use Rust 2021 prelude in std itself. 2022-05-09 11:12:32 +02:00
wasm Lazily allocate+initialize locks. 2022-06-03 17:04:14 +02:00
windows Rollup merge of #98916 - ChrisDenton:hiberfil.sys, r=thomcc 2022-07-20 11:29:38 +05:30
mod.rs Use target_family = "wasm" 2021-11-10 08:35:42 -08:00