#include <XrdSysSemWait.hh>
Public Member Functions | |
| int | CondWait () |
| void | Post () |
| void | Wait () |
| int | Wait (int secs) |
| XrdSysSemWait (int semval=1, const char *cid=0) | |
| ~XrdSysSemWait () | |
Private Attributes | |
| XrdSysCondVar | semVar |
| int | semVal |
| int | semWait |
Definition at line 16 of file XrdSysSemWait.hh.
| XrdSysSemWait::XrdSysSemWait | ( | int | semval = 1, |
|
| const char * | cid = 0 | |||
| ) | [inline] |
| XrdSysSemWait::~XrdSysSemWait | ( | ) | [inline] |
Definition at line 95 of file XrdSysSemWait.hh.
| int XrdSysSemWait::CondWait | ( | ) | [inline] |
Definition at line 19 of file XrdSysSemWait.hh.
References XrdSysCondVar::Lock(), semVal, semVar, and XrdSysCondVar::UnLock().
| void XrdSysSemWait::Post | ( | ) | [inline] |
Definition at line 39 of file XrdSysSemWait.hh.
References XrdSysCondVar::Lock(), semVal, semVar, semWait, XrdSysCondVar::Signal(), and XrdSysCondVar::UnLock().
Referenced by XrdProofdProofServMgr::Create(), XrdProofdProofServ::PingSem(), XrdCpMthrQueue::PutBuffer(), XrdClientInputBuffer::PutMsg(), XrdClientPhyConnection::StartedReader(), XrdClient::TerminateOpenAttempt(), XrdClient::TryOpen(), and XrdProofdProofServCron().
| void XrdSysSemWait::Wait | ( | ) | [inline] |
Definition at line 55 of file XrdSysSemWait.hh.
References XrdSysCondVar::Lock(), semVal, semVar, semWait, XrdSysCondVar::UnLock(), and XrdSysCondVar::Wait().
Referenced by XrdProofdProofServMgr::Create(), XrdCpMthrQueue::GetBuffer(), XrdClientInputBuffer::GetMsg(), XrdProofdProofServMgr::Process(), XrdClientPhyConnection::StartReader(), and XrdClient::TryOpen().
| int XrdSysSemWait::Wait | ( | int | secs | ) | [inline] |
Definition at line 71 of file XrdSysSemWait.hh.
References XrdSysCondVar::Lock(), semVal, semVar, semWait, XrdSysCondVar::UnLock(), and XrdSysCondVar::Wait().
XrdSysCondVar XrdSysSemWait::semVar [private] |
int XrdSysSemWait::semVal [private] |
Definition at line 100 of file XrdSysSemWait.hh.
Referenced by CondWait(), Post(), Wait(), and XrdSysSemWait().
int XrdSysSemWait::semWait [private] |
1.5.1