Commit Graph

2 Commits

Author SHA1 Message Date
joboet
550273361d std: simplify UNIX parker timeouts 2022-04-28 12:31:19 +02:00
joboet
54daf496e2 std: directly use pthread in UNIX parker implementation
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.
2022-04-25 15:19:50 +02:00