BeRTOS
|
Go to the source code of this file.
Functions | |
Process synchronization services | |
void | sem_init (struct Semaphore *s) |
Initialize a Semaphore structure. | |
bool | sem_attempt (struct Semaphore *s) |
Attempt to lock a semaphore without waiting. | |
void | sem_obtain (struct Semaphore *s) |
Lock a semaphore. | |
void | sem_release (struct Semaphore *s) |
Release a lock on a previously locked semaphore. |
Definition in file sem.h.