This function suspends the calling thread until the semaphore pointed to by sem has a positive count. It then atomically decreases the semaphore count.
Binds to C-function call in SDL_mutex.h:
extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem)
Sdl Class | Tao.Sdl Namespace