CernVM-FS
2.12.0
|
#include <concurrency.h>
Public Member Functions | |
Signal () | |
~Signal () | |
void | Wakeup () |
void | Wait () |
bool | IsSleeping () |
Private Attributes | |
bool | fired_ |
pthread_mutex_t | lock_ |
pthread_cond_t | signal_ |
Additional Inherited Members | |
Private Member Functions inherited from SingleCopy | |
SingleCopy () | |
A blocking signal for thread synchronization
Definition at line 359 of file concurrency.h.
Signal::Signal | ( | ) |
Signal::~Signal | ( | ) |
bool Signal::IsSleeping | ( | ) |
Definition at line 66 of file concurrency.cc.
Referenced by TarIngestionSource::TarIngestionSource(), and ~Signal().
void Signal::Wait | ( | ) |
Definition at line 49 of file concurrency.cc.
Referenced by ExternalCacheManager::CallRemotely(), and publish::SyncUnionTarball::Traverse().
void Signal::Wakeup | ( | ) |
Definition at line 59 of file concurrency.cc.
Referenced by TarIngestionSource::Close(), ExternalCacheManager::MainRead(), publish::SyncUnionTarball::ProcessArchiveEntry(), and publish::SyncUnionTarball::Traverse().
|
private |
Definition at line 368 of file concurrency.h.
Referenced by IsSleeping(), Wait(), and Wakeup().
|
private |
Definition at line 369 of file concurrency.h.
Referenced by IsSleeping(), Signal(), Wait(), Wakeup(), and ~Signal().
|
private |