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

#include <XrdSysPthread.hh>

Public Member Functions

int CondWait ()
 
void Post ()
 
void Wait ()
 
 XrdSysSemaphore (int semval=1, const char *=0)
 
 ~XrdSysSemaphore ()
 

Private Attributes

sem_t h_semaphore
 

Constructor & Destructor Documentation

◆ XrdSysSemaphore()

XrdSysSemaphore::XrdSysSemaphore ( int  semval = 1,
const char *  = 0 
)
inline

References h_semaphore.

◆ ~XrdSysSemaphore()

XrdSysSemaphore::~XrdSysSemaphore ( )
inline

References h_semaphore.

Member Function Documentation

◆ CondWait()

int XrdSysSemaphore::CondWait ( )
inline

References h_semaphore.

Referenced by XrdCmsRespCB::Init().

◆ Post()

void XrdSysSemaphore::Post ( )
inline

◆ Wait()

void XrdSysSemaphore::Wait ( )
inline

Member Data Documentation

◆ h_semaphore

sem_t XrdSysSemaphore::h_semaphore
private

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