Function sdl2_sys::SDL_SemWait

source ·
pub unsafe extern "C" fn SDL_SemWait(sem: *mut SDL_sem) -> c_int
Expand description

This function suspends the calling thread until the semaphore pointed to by \c sem has a positive count. It then atomically decreases the semaphore count.