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

Allocate semaphore

Returns:

  • pointer to FuriSemaphore instance

Arguments

  • max_count - [Direction: In] The maximum count
  • initial_count - [Direction: In] The initial count