mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 23:03:06 +03:00
54daf496e2
Mutex and Condvar are being replaced by more efficient implementations, which need thread parking themselves (see #93740). Therefore use the pthread synchronization primitives directly. Also, avoid allocating because the Parker struct is being placed in an Arc anyways.