furi_semaphore_alloc

Function furi_semaphore_alloc 

Source
pub unsafe extern "C" fn furi_semaphore_alloc(
    max_count: u32,
    initial_count: u32,
) -> *mut FuriSemaphore
Expand description

Allocate semaphore

§Arguments

  • max_count (direction in) - The maximum count
  • initial_count (direction in) - The initial count

§Returns

pointer to FuriSemaphore instance