lightspark::Semaphore Class Reference

#include <threading.h>

List of all members.

Public Member Functions

 Semaphore (uint32_t init)
 ~Semaphore ()
void signal ()
void wait ()
bool try_wait ()

Private Attributes

sem_t sem

Detailed Description

Definition at line 67 of file threading.h.


Constructor & Destructor Documentation

Semaphore::Semaphore ( uint32_t  init  ) 

Definition at line 98 of file threading.cpp.

Semaphore::~Semaphore (  ) 

Definition at line 103 of file threading.cpp.


Member Function Documentation

void Semaphore::signal (  ) 

Definition at line 120 of file threading.cpp.

bool Semaphore::try_wait (  ) 

Definition at line 115 of file threading.cpp.

void Semaphore::wait (  ) 

Definition at line 110 of file threading.cpp.


Member Data Documentation

sem_t lightspark::Semaphore::sem [private]

Definition at line 70 of file threading.h.


The documentation for this class was generated from the following files:
Generated on Tue Aug 24 19:50:36 2010 for Lightspark by  doxygen 1.6.3