The Pedigree Project
0.1
|
#include <Mutex.h>
Public Member Functions | |
Mutex (bool bLocked=false) | |
~Mutex () | |
Public Member Functions inherited from Semaphore | |
Semaphore (size_t nInitialValue, bool canInterrupt=true) | |
virtual | ~Semaphore () |
SemaphoreResult | acquireWithResult (size_t n=1, size_t timeoutSecs=0, size_t timeoutUsecs=0) |
bool | acquire (size_t n=1, size_t timeoutSecs=0, size_t timeoutUsecs=0) |
bool | tryAcquire (size_t n=1) |
void | release (size_t n=1) |
ssize_t | getValue () |
Additional Inherited Members | |
Public Types inherited from Semaphore | |
enum | SemaphoreError { TimedOut, Interrupted } |
typedef Result< bool, SemaphoreError > | SemaphoreResult |