CMSDK  2.0.1
Public Member Functions | Public Attributes | Protected Attributes | List of all members
cmlabs::utils::Semaphore Class Reference

Public Member Functions

 Semaphore (uint32 maxCount=100)
 
 Semaphore (const char *name, uint32 maxCount=100)
 
bool wait ()
 
bool wait (uint32 timeout)
 
bool signal ()
 

Public Attributes

char * name
 

Protected Attributes

sem_t * semaphore
 

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