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. |
||
|---|---|---|
| .. | ||
| local | ||
| local.rs | ||
| mod.rs | ||
| scoped.rs | ||
| tests.rs | ||