Function sdl2_sys::SDL_TryLockMutex

source ·
pub unsafe extern "C" fn SDL_TryLockMutex(
    mutex: *mut SDL_mutex
) -> c_int
Expand description

Try to lock the mutex

\return 0, SDL_MUTEX_TIMEDOUT, or -1 on error