Classes | |
struct | osip_sem |
Functions | |
struct osip_sem * | osip_sem_init (unsigned int value) |
int | osip_sem_destroy (struct osip_sem *sem) |
int | osip_sem_post (struct osip_sem *sem) |
int | osip_sem_wait (struct osip_sem *sem) |
int | osip_sem_trywait (struct osip_sem *sem) |
|
Destroy a semaphore.
|
|
Allocate and Initialise a semaphore.
|
|
Post operation on a semaphore.
|
|
Wait operation on a semaphore. NOTE: if the semaphore is at 0, this call won't block.
|
|
Wait operation on a semaphore. NOTE: this call will block if the semaphore is at 0.
|