#include <Pt/System/Semaphore.h>
Semaphore synchronization object.
Inherits NonCopyable.
Public Member Functions | |
Semaphore (unsigned int initial=0) | |
Construct with initial count. | |
~Semaphore () | |
Destructor. Does not signal... | |
Semaphore & | post () |
Signal the semaphore | |
bool | tryWait () |
Non-blocking wait. | |
Semaphore & | wait () |
Wait for the semaphore to become signaled. | |