#include <XrdSysXSLock.hh>
Public Member Functions | |
void | Lock (const XrdSysXS_Type usage) |
void | UnLock (const XrdSysXS_Type usage=xs_None) |
XrdSysXSLock () | |
~XrdSysXSLock () | |
Private Attributes | |
XrdSysXS_Type | cur_usage |
int | cur_count |
int | exc_wait |
int | shr_wait |
int | toggle |
XrdSysMutex | LockContext |
XrdSysSemaphore | WantShr |
XrdSysSemaphore | WantExc |
XrdSysXSLock::XrdSysXSLock | ( | ) | [inline] |
XrdSysXSLock::~XrdSysXSLock | ( | ) |
void XrdSysXSLock::Lock | ( | const XrdSysXS_Type | usage | ) |
void XrdSysXSLock::UnLock | ( | const XrdSysXS_Type | usage = xs_None |
) |
int XrdSysXSLock::cur_count [private] |
XrdSysXS_Type XrdSysXSLock::cur_usage [private] |
int XrdSysXSLock::exc_wait [private] |
XrdSysMutex XrdSysXSLock::LockContext [private] |
int XrdSysXSLock::shr_wait [private] |
int XrdSysXSLock::toggle [private] |
XrdSysSemaphore XrdSysXSLock::WantExc [private] |
XrdSysSemaphore XrdSysXSLock::WantShr [private] |