3 ms·
Decent mutexes do support a timeout?
by foota 7y ago
Decent mutexes do support a timeout?
- notriddle 7y agoPOSIX's does: https://linux.die.net/man/3/pthread_mutex_timedlock https://linux.die.net/man/3/pthread_mutex_timedlock So does parking_lot: https://docs.rs/lock_api/0.3.2/lock_api/struct.Mutex.html#method.try_lock_until https://docs.rs/lock_api/0.3.2/lock_api/struct.Mutex.html#me...