8 #ifndef __OS_WRAPPER_SEMAPHORE_H__
9 #define __OS_WRAPPER_SEMAPHORE_H__
void * os_wrapper_semaphore_create(uint32_t max_count, uint32_t initial_count, const char *name)
Creates a new semaphore.
uint32_t os_wrapper_semaphore_delete(void *handle)
Deletes the semaphore.
uint32_t os_wrapper_semaphore_release(void *handle)
Releases the semaphore.
uint32_t os_wrapper_semaphore_acquire(void *handle, uint32_t timeout)
Acquires the semaphore.