XrdSysSemWait Class Reference

#include <XrdSysSemWait.hh>

List of all members.

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


Detailed Description

Definition at line 16 of file XrdSysSemWait.hh.


Constructor & Destructor Documentation

XrdSysSemWait::XrdSysSemWait ( int  semval = 1,
const char *  cid = 0 
) [inline]

Definition at line 91 of file XrdSysSemWait.hh.

References semVal, and semWait.

XrdSysSemWait::~XrdSysSemWait (  )  [inline]

Definition at line 95 of file XrdSysSemWait.hh.


Member Function Documentation

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().


Member Data Documentation

XrdSysCondVar XrdSysSemWait::semVar [private]

Definition at line 99 of file XrdSysSemWait.hh.

Referenced by CondWait(), Post(), and Wait().

int XrdSysSemWait::semVal [private]

Definition at line 100 of file XrdSysSemWait.hh.

Referenced by CondWait(), Post(), Wait(), and XrdSysSemWait().

int XrdSysSemWait::semWait [private]

Definition at line 101 of file XrdSysSemWait.hh.

Referenced by Post(), Wait(), and XrdSysSemWait().


The documentation for this class was generated from the following file:
Generated on Tue Jul 5 16:50:47 2011 for ROOT_528-00b_version by  doxygen 1.5.1