Typedefs | |
typedef _Semaphore * | Semaphore |
typedef enum _SemaphoreType | SemaphoreType |
Enumerations | |
enum | _SemaphoreType { SemaphoreTypeFIFO, SemaphoreTypePriority } |
Functions | |
ErrorCode | semaphoreCreate (Semaphore *semaphore, SemaphoreType type, uint32 initial) |
ErrorCode | semaphoreUp (Semaphore semaphore) |
ErrorCode | semaphoreDown (Semaphore semaphore, Timeout timeout) |
ErrorCode | semaphoreDestroy (Semaphore *semaphore) |
|
Definition at line 23 of file semaphore.h. |
|
|
|
Definition at line 25 of file semaphore.h. |
|
Create a new semaphore
|
|
Destroy a semaphore
|
|
Decrement the semaphore count
|
|
Increment the semaphore count
|