cds
2.3.2
|
Monitor scoped lock (RAII) More...
#include <cds/sync/monitor.h>
Public Types | |
typedef Monitor | monitor_type |
Monitor type. | |
typedef Node | node_type |
Node type. | |
Public Member Functions | |
monitor_scoped_lock (monitor_type &monitor, node_type const &p) | |
Makes exclusive access to the node p by monitor . | |
~monitor_scoped_lock () | |
Unlocks the node. | |
Monitor scoped lock (RAII)
Template arguments:
Monitor
- monitor typeNode
- node type