xrootd
Public Member Functions | Private Attributes | List of all members
XrdSysXSLock Class Reference

#include <XrdSysXSLock.hh>

Collaboration diagram for XrdSysXSLock:
Collaboration graph
[legend]

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

Constructor & Destructor Documentation

XrdSysXSLock::XrdSysXSLock ( )
inline
XrdSysXSLock::~XrdSysXSLock ( )

Member Function Documentation

void XrdSysXSLock::Lock ( const XrdSysXS_Type  usage)
void XrdSysXSLock::UnLock ( const XrdSysXS_Type  usage = xs_None)

Member Data Documentation

int XrdSysXSLock::cur_count
private

Referenced by Lock(), UnLock(), and ~XrdSysXSLock().

XrdSysXS_Type XrdSysXSLock::cur_usage
private

Referenced by Lock(), and UnLock().

int XrdSysXSLock::exc_wait
private

Referenced by Lock(), UnLock(), and ~XrdSysXSLock().

XrdSysMutex XrdSysXSLock::LockContext
private

Referenced by Lock(), UnLock(), and ~XrdSysXSLock().

int XrdSysXSLock::shr_wait
private

Referenced by Lock(), UnLock(), and ~XrdSysXSLock().

int XrdSysXSLock::toggle
private

Referenced by UnLock().

XrdSysSemaphore XrdSysXSLock::WantExc
private

Referenced by Lock(), and UnLock().

XrdSysSemaphore XrdSysXSLock::WantShr
private

Referenced by Lock(), and UnLock().


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