XrdSysCondVar Class Reference

#include <XrdSysPthread.hh>

List of all members.

Public Member Functions

void Lock ()
void Signal ()
void Broadcast ()
void UnLock ()
int Wait ()
int Wait (int sec)
int WaitMS (int msec)
 XrdSysCondVar (int relm=1, const char *cid=0)
 ~XrdSysCondVar ()

Private Attributes

pthread_cond_t cvar
pthread_mutex_t cmut
int relMutex
const char * condID

Constructor & Destructor Documentation

XrdSysCondVar::XrdSysCondVar ( int  relm = 1,
const char *  cid = 0 
) [inline]

References cmut, condID, cvar, and relMutex.

XrdSysCondVar::~XrdSysCondVar (  )  [inline]

References cmut, and cvar.


Member Function Documentation

void XrdSysCondVar::Broadcast (  )  [inline]

References cmut, cvar, and relMutex.

void XrdSysCondVar::Lock (  )  [inline]
void XrdSysCondVar::Signal (  )  [inline]

References cmut, cvar, and relMutex.

Referenced by XrdSysSemWait::Post().

void XrdSysCondVar::UnLock (  )  [inline]
int XrdSysCondVar::Wait ( int  sec  ) 
int XrdSysCondVar::Wait (  ) 

Referenced by XrdSysSemWait::Wait().

int XrdSysCondVar::WaitMS ( int  msec  ) 

Member Data Documentation

pthread_mutex_t XrdSysCondVar::cmut [private]
const char* XrdSysCondVar::condID [private]

Referenced by XrdSysCondVar().

pthread_cond_t XrdSysCondVar::cvar [private]
int XrdSysCondVar::relMutex [private]

Referenced by Broadcast(), Signal(), and XrdSysCondVar().


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

Generated on 1 Nov 2017 for xrootd by  doxygen 1.6.1