IBNOS
|
Functions | |
struct semaphore * | semaphoreCreate (uint32_t value) |
Creates a new kernel semaphore object. More... | |
Implementation of Semaphores
struct semaphore* semaphoreCreate | ( | uint32_t | value | ) |
Creates a new kernel semaphore object.
This function allocates and returns the memory for a new kernel semaphore object, which can for example be used for synchronization between multiple threads.
value | Initial value of the semaphore object |
Definition at line 68 of file semaphore.c.