anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore Class Reference

List of all members.

Public Member Functions

 Semaphore (int val=0)
 ~Semaphore ()
void release (int n=1)
void acquire (int n=1)

Private Attributes

sem_t sem

Constructor & Destructor Documentation

anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore::Semaphore ( int  val = 0  )  [inline, explicit]
anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore::~Semaphore (  )  [inline]

Member Function Documentation

void anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore::acquire ( int  n = 1  )  [inline]
void anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore::release ( int  n = 1  )  [inline]

Member Data Documentation

sem_t anonymous_namespace{ThreadPool_pthread.cpp}::Semaphore::sem [private]

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

Generated on 2 Nov 2013 for Galois by  doxygen 1.6.1