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

#include <XrdSysPthread.hh>

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::XrdSysCondVar ( int  relm = 1,
const char *  cid = 0 
)
inline

References cmut, condID, cvar, and relMutex.

§ ~XrdSysCondVar()

XrdSysCondVar::~XrdSysCondVar ( )
inline

References cmut, and cvar.

Member Function Documentation

§ Broadcast()

void XrdSysCondVar::Broadcast ( )
inline

References cmut, cvar, and relMutex.

§ Lock()

void XrdSysCondVar::Lock ( )
inline

§ Signal()

void XrdSysCondVar::Signal ( )
inline

References cmut, cvar, and relMutex.

Referenced by XrdSysSemWait::Post().

§ UnLock()

void XrdSysCondVar::UnLock ( )
inline

§ Wait() [1/2]

int XrdSysCondVar::Wait ( )

§ Wait() [2/2]

int XrdSysCondVar::Wait ( int  sec)

§ WaitMS()

int XrdSysCondVar::WaitMS ( int  msec)

Referenced by UnLock().

Member Data Documentation

§ cmut

pthread_mutex_t XrdSysCondVar::cmut
private

§ condID

const char* XrdSysCondVar::condID
private

Referenced by XrdSysCondVar().

§ cvar

pthread_cond_t XrdSysCondVar::cvar
private

§ relMutex

int XrdSysCondVar::relMutex
private

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


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