pub unsafe extern "C" fn LightSemaphore_TryAcquire(
    semaphore: *mut LightSemaphore,
    count: s32
) -> c_int
Expand description

Attempts to acquire a light semaphore.

§Arguments

  • semaphore - Pointer to the semaphore.
  • count - Acquire count

§Returns

Zero on success, non-zero on failure