Function SDL_DestroySemaphore

pub unsafe extern "C" fn SDL_DestroySemaphore(sem: *mut SDL_Semaphore)
Available on crate feature dep_sdl3 only.
Expand description

Destroy a semaphore.

It is not safe to destroy a semaphore if there are threads currently waiting on it.

§Parameters

  • sem: the semaphore to destroy.

§Availability

This function is available since SDL 3.2.0.

§See also