32#include <Pt/System/Api.h>
33#include <Pt/NonCopyable.h>
49 friend class SemaphoreImpl;
72 class SemaphoreImpl* _impl;
NonCopyable()
Default constructor.
Definition NonCopyable.h:63
Semaphore & wait()
Wait for the semaphore to become signaled.
Semaphore(unsigned int initial=0)
Construct with initial count.
Semaphore & post()
Signal the semaphore
bool tryWait()
Non-blocking wait.
System programming
Definition Connection.h:26
Core module.
Definition Allocator.h:33