CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Signal Class Reference

#include <concurrency.h>

Inheritance diagram for Signal:
Collaboration diagram for Signal:

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 ()
 

Detailed Description

A blocking signal for thread synchronization

Definition at line 277 of file concurrency.h.

Constructor & Destructor Documentation

Signal::Signal ( )

Definition at line 32 of file concurrency.cc.

Here is the call graph for this function:

Signal::~Signal ( )

Definition at line 40 of file concurrency.cc.

Here is the call graph for this function:

Member Function Documentation

bool Signal::IsSleeping ( )

Definition at line 66 of file concurrency.cc.

Referenced by TarIngestionSource::TarIngestionSource(), and ~Signal().

Here is the caller graph for this function:

void Signal::Wait ( )

Definition at line 49 of file concurrency.cc.

Referenced by ExternalCacheManager::CallRemotely(), and publish::SyncUnionTarball::Traverse().

Here is the call graph for this function:

Here is the caller graph for this function:

void Signal::Wakeup ( )

Definition at line 59 of file concurrency.cc.

Referenced by TarIngestionSource::Close(), ExternalCacheManager::MainRead(), publish::SyncUnionTarball::ProcessArchiveEntry(), and publish::SyncUnionTarball::Traverse().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool Signal::fired_
private

Definition at line 286 of file concurrency.h.

Referenced by IsSleeping(), Wait(), and Wakeup().

pthread_mutex_t Signal::lock_
private

Definition at line 287 of file concurrency.h.

Referenced by IsSleeping(), Signal(), Wait(), Wakeup(), and ~Signal().

pthread_cond_t Signal::signal_
private

Definition at line 288 of file concurrency.h.

Referenced by Signal(), Wait(), Wakeup(), and ~Signal().


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