|
xrootd
|
#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 |
| XrdSysSemaphore::XrdSysSemaphore | ( | int | semval = 1, |
| const char * | = 0 |
||
| ) | [inline] |
References h_semaphore.
| XrdSysSemaphore::~XrdSysSemaphore | ( | ) | [inline] |
References h_semaphore.
| int XrdSysSemaphore::CondWait | ( | ) | [inline] |
References h_semaphore.
Referenced by XrdCmsRespCB::Init().
| void XrdSysSemaphore::Post | ( | ) | [inline] |
References h_semaphore.
Referenced by XrdBwmHandle::theEICB::Done(), XrdBwmLogger::Event(), XrdBwmPolicy1::Done(), XrdCmsAdmin::Relay(), XrdCmsClientMan::delayResp(), XrdCmsManTree::Redrive(), XrdCmsPrepArgs::Queue(), XrdCmsRespCB::Done(), XrdCmsState::Enable(), XrdCmsState::Update(), XrdCnsLogClient::Activate(), XrdCnsLogFile::Add(), XrdCnsLogFile::Eol(), XrdCnsLogRec::Queue(), XrdFrmConfigMum(), XrdLink::setRef(), XrdOfsEvr::sendEvent(), XrdOfsEvs::Notify(), XrdOucCacheData::Preread(), XrdOucCacheReal::~XrdOucCacheReal(), XrdOucCacheReal::Detach(), XrdOucCacheReal::PreRead(), XrdPollDev::Start(), XrdPollDev::doRequests(), XrdPollE::Start(), XrdPollPoll::Start(), XrdPollPoll::doRequests(), XrdPosixXrootd::OpenCB(), XrdScheduler::DoIt(), XrdScheduler::Schedule(), XrdSecTLayer::secXeq(), XrdSysXSLock::UnLock(), and XrdXrootdProtocol::do_OffloadIO().
| void XrdSysSemaphore::Wait | ( | ) | [inline] |
References h_semaphore.
Referenced by XrdBwmHandle::theEICB::Wait(), XrdBwmLogger::sendEvents(), XrdBwmPolicy1::Dispatch(), XrdCmsAdmin::Relay(), XrdCmsClientMan::Start(), XrdCmsConfig::DoIt(), XrdCmsManTree::Pause(), XrdCmsPrepArgs::getRequest(), XrdCmsRespCB::Wait(), XrdCmsState::Monitor(), XrdCnsLogClient::Run(), XrdCnsLogFile::Subscribe(), XrdCnsLogRec::Get(), XrdFrmConfig::Configure(), XrdFrmXfrQueue::StopMon(), XrdLink::Serialize(), XrdOfsEvr::flushEvents(), XrdOfsEvs::sendEvents(), XrdOucCacheData::Detach(), XrdOucCacheReal::~XrdOucCacheReal(), XrdOucCacheReal::Get(), XrdOucCacheReal::PreRead(), XrdPollDev::Disable(), XrdPollPoll::Disable(), XrdPollPoll::Exclude(), XrdPosixXrootd::OpenCB(), XrdScheduler::Run(), XrdSecTLayer::secDrain(), XrdSysXSLock::Lock(), and XrdXrootdProtocol::do_Offload().
sem_t XrdSysSemaphore::h_semaphore [private] |
Referenced by CondWait(), Post(), Wait(), XrdSysSemaphore(), and ~XrdSysSemaphore().
1.7.5