PosixSemaphore Class Reference

Wrapper around posix sem_t semaphore. More...

#include <Util/Semaphore.H>

List of all members.

Public Member Functions

 PosixSemaphore (unsigned int initvalue=0)
bool post ()
 Returns true on success.
bool trywait ()
bool wait ()
 Returns true on success.

Detailed Description

Wrapper around posix sem_t semaphore.

Definition at line 57 of file Semaphore.H.


Member Function Documentation

bool PosixSemaphore::post (  )  [inline]
bool PosixSemaphore::wait (  )  [inline]

Returns true on success.

Definition at line 106 of file Semaphore.H.

Referenced by SharedBuffer< T >::pop(), SharedBuffer< T >::push(), DisplayController::run(), and JobWithSemaphore::wait().


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:43:40 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3