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