primitives library
This library contains native synchronization primitives such as Mutex and ConditionVariable implemented on top of low-level primitives provided by the OS.
See OS specific documentation for more details:
- POSIX man pages (Linux, Android, Mac OS X and iOS X)
pthread_mutex_lockandpthread_mutex_unlock,pthread_cond_waitandpthread_cond_signal.
- Windows
Classes
- ConditionVariable
- A condition variable synchronization primitive.
- Mutex
- A mutex synchronization primitive.