[−][src]Function sdl2_sys::SDL_SemWait
pub unsafe extern "C" fn SDL_SemWait(sem: *mut SDL_sem) -> c_int
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.