void furi_semaphore_free(FuriSemaphore *instance)
Free semaphore.
Definition semaphore.c:47
FuriSemaphore * furi_semaphore_alloc(uint32_t max_count, uint32_t initial_count)
Allocate semaphore.
Definition semaphore.c:23
FuriStatus furi_semaphore_release(FuriSemaphore *instance)
Release semaphore.
Definition semaphore.c:98
uint32_t furi_semaphore_get_space(FuriSemaphore *instance)
Get available space.
Definition semaphore.c:144
FuriStatus furi_semaphore_acquire(FuriSemaphore *instance, uint32_t timeout)
Acquire semaphore.
Definition semaphore.c:59
uint32_t furi_semaphore_get_count(FuriSemaphore *instance)
Get semaphore count.
Definition semaphore.c:129
Definition semaphore.c:15