xrootd
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
XrdSysCondVar2 Class Reference

#include <XrdSysPthread.hh>

Public Member Functions

void Signal ()
 
void Broadcast ()
 
int Wait ()
 
bool Wait (int sec)
 
bool WaitMS (int msec)
 
 XrdSysCondVar2 (XrdSysMutex &mtx)
 
 ~XrdSysCondVar2 ()
 

Protected Attributes

pthread_cond_t cvar
 
pthread_mutex_t * mtxP
 

Constructor & Destructor Documentation

◆ XrdSysCondVar2()

XrdSysCondVar2::XrdSysCondVar2 ( XrdSysMutex mtx)
inline

References cvar.

◆ ~XrdSysCondVar2()

XrdSysCondVar2::~XrdSysCondVar2 ( )
inline

References cvar.

Member Function Documentation

◆ Broadcast()

void XrdSysCondVar2::Broadcast ( )
inline

References cvar.

◆ Signal()

void XrdSysCondVar2::Signal ( )
inline

References cvar.

◆ Wait() [1/2]

int XrdSysCondVar2::Wait ( )
inline

References cvar, and mtxP.

◆ Wait() [2/2]

bool XrdSysCondVar2::Wait ( int  sec)
inline

References WaitMS().

◆ WaitMS()

bool XrdSysCondVar2::WaitMS ( int  msec)

Referenced by Wait().

Member Data Documentation

◆ cvar

pthread_cond_t XrdSysCondVar2::cvar
protected

◆ mtxP

pthread_mutex_t* XrdSysCondVar2::mtxP
protected

Referenced by Wait().


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