Non-blocking variant of SDL_SemWait(), returns 0 if the wait succeeds, SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error.
Non-blocking variant of SDL_SemWait(), returns 0 if the wait succeeds, SDL_MUTEX_TIMEDOUT if the wait would block, and -1 on error.
Binds to C-function call in SDL_mutex.h:
extern DECLSPEC int SDLCALL SDL_SemTryWait(SDL_sem *sem)