[][src]Function sdl2_sys::SDL_TryLockMutex

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

Try to lock the mutex

\return 0, SDL_MUTEX_TIMEDOUT, or -1 on error