Expand description
Synchronization primitives with conditional compilation.
Provides a unified mutex interface that uses parking_lot::Mutex when
the production feature is enabled, falling back to std::sync::Mutex otherwise.
Functions§
- lock
- Lock a mutex using std::sync::Mutex, recovering from poisoning.
- try_
lock - Try to lock a mutex using std::sync::Mutex without blocking.
Type Aliases§
- Mutex
- Mutex type using std::sync::Mutex (default, no
productionfeature).