#include <cLocker.h>
Common base for cThreadLockBase and all lock / thread lock / mutex implementations. derived class can override Lock,Unlock NOT thread safe. Assume caller handles thread safety. Use cInterlockedVal if we want/need thread safety here. Similar to cRefBase and cInterlockedVal.
◆ cLockableBase()
| Gray::cLockableBase::cLockableBase |
( |
| ) |
|
|
inlineprotectednoexcept |
◆ ~cLockableBase()
| Gray::cLockableBase::~cLockableBase |
( |
| ) |
|
|
inlineprotected |
◆ DecLockCount()
| LONG Gray::cLockableBase::DecLockCount |
( |
| ) |
|
|
inlineprotected |
◆ get_LockCount()
| LONG Gray::cLockableBase::get_LockCount |
( |
| ) |
const |
|
inlineprotected |
◆ IncLockCount()
| void Gray::cLockableBase::IncLockCount |
( |
| ) |
|
|
inlineprotected |
◆ isLocked()
| bool Gray::cLockableBase::isLocked |
( |
| ) |
const |
|
inlineprotected |
◆ Lock()
| void Gray::cLockableBase::Lock |
( |
| ) |
|
|
inlineprotected |
◆ Unlock()
| LONG Gray::cLockableBase::Unlock |
( |
| ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file:
- c:/Dennis/Source/Gray/GrayCore/include/cLocker.h