Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cCSUnlock Class Reference

Temporary RAII unlock for a cCSLock. More...

#include <CriticalSection.h>

Collaboration diagram for cCSUnlock:
Collaboration graph
[legend]

Public Member Functions

 cCSUnlock (cCSLock &a_Lock)
 
 ~cCSUnlock ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (cCSUnlock)
 

Private Attributes

cCSLockm_Lock
 

Detailed Description

Temporary RAII unlock for a cCSLock.

Useful for unlock-wait-relock scenarios

Definition at line 79 of file CriticalSection.h.

Constructor & Destructor Documentation

cCSUnlock::cCSUnlock ( cCSLock a_Lock)

Definition at line 126 of file CriticalSection.cpp.

cCSUnlock::~cCSUnlock ( )

Definition at line 136 of file CriticalSection.cpp.

Member Function Documentation

cCSUnlock::DISALLOW_COPY_AND_ASSIGN ( cCSUnlock  )
private

Member Data Documentation

cCSLock& cCSUnlock::m_Lock
private

Definition at line 81 of file CriticalSection.h.


The documentation for this class was generated from the following files: