#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 |
| XrdSysCondVar::XrdSysCondVar | ( | int | relm = 1, |
|
| const char * | cid = 0 | |||
| ) | [inline] |
| void XrdSysCondVar::Lock | ( | ) | [inline] |
References cmut.
Referenced by XrdSysSemWait::CondWait(), XrdSysCondVarHelper::Lock(), XrdSysSemWait::Post(), XrdSysSemWait::Wait(), and XrdSysCondVarHelper::XrdSysCondVarHelper().
| void XrdSysCondVar::Signal | ( | ) | [inline] |
References cmut, cvar, and relMutex.
Referenced by XrdSysSemWait::Post().
| void XrdSysCondVar::UnLock | ( | ) | [inline] |
References cmut.
Referenced by XrdSysSemWait::CondWait(), XrdSysCondVarHelper::Lock(), XrdSysSemWait::Post(), XrdSysCondVarHelper::UnLock(), and XrdSysSemWait::Wait().
| int XrdSysCondVar::Wait | ( | int | sec | ) |
| int XrdSysCondVar::Wait | ( | ) |
Referenced by XrdSysSemWait::Wait().
| int XrdSysCondVar::WaitMS | ( | int | msec | ) |
pthread_mutex_t XrdSysCondVar::cmut [private] |
Referenced by Broadcast(), Lock(), Signal(), UnLock(), XrdSysCondVar(), and ~XrdSysCondVar().
const char* XrdSysCondVar::condID [private] |
Referenced by XrdSysCondVar().
pthread_cond_t XrdSysCondVar::cvar [private] |
Referenced by Broadcast(), Signal(), XrdSysCondVar(), and ~XrdSysCondVar().
int XrdSysCondVar::relMutex [private] |
Referenced by Broadcast(), Signal(), and XrdSysCondVar().
1.6.1