Expand description
A monitor convenience type that couples a SharedMutex and a Condvar.
This type is more convenient to use but a little bit less general than SharedMutex since the monitor uses only one condition variable, whereas a SharedMutex can be used with any number of condition variables.
Structsยง
- Monitor
- A convenience wrapper around a SharedMutex and a Condvar.
- Monitor
Read Guard - A shared read guard to the data in a Monitor.
- Monitor
Write Guard - An exclusive write guard to the data in a Monitor.