#include <virtual_basic_lockable.h>
|
enum class | Operation { kLock
, kUnlock
} |
|
The NoOpLock
is a type of VirtualBasicLockable
that does nothing, i.e. lock operations are no-ops.
◆ DoLockOperation()
void pw::sync::NoOpLock::DoLockOperation |
( |
Operation |
operation | ) |
|
|
inlineoverrideprivatevirtual |
◆ Instance()
static NoOpLock & pw::sync::NoOpLock::Instance |
( |
| ) |
|
|
inlinestatic |
Gives access to a global NoOpLock instance. It is not necessary to have multiple NoOpLock instances since they have no state and do nothing.
The documentation for this class was generated from the following file: