pub unsafe extern "C" fn LightSemaphore_Init(
    semaphore: *mut LightSemaphore,
    initial_count: s16,
    max_count: s16
)
Expand description

Initializes a light semaphore.

§Arguments

  • event - Pointer to the semaphore.
  • max_count - Initial count of the semaphore.
  • max_count - Maximum count of the semaphore.