Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Temporary RAII unlock for a cCSLock. More...
#include <CriticalSection.h>
Public Member Functions | |
cCSUnlock (cCSLock &a_Lock) | |
~cCSUnlock () | |
Private Member Functions | |
DISALLOW_COPY_AND_ASSIGN (cCSUnlock) | |
Private Attributes | |
cCSLock & | m_Lock |
Temporary RAII unlock for a cCSLock.
Useful for unlock-wait-relock scenarios
Definition at line 79 of file CriticalSection.h.
cCSUnlock::cCSUnlock | ( | cCSLock & | a_Lock | ) |
Definition at line 126 of file CriticalSection.cpp.
cCSUnlock::~cCSUnlock | ( | ) |
Definition at line 136 of file CriticalSection.cpp.
|
private |
|
private |
Definition at line 81 of file CriticalSection.h.