Tao.Sdl SDK Documentation

Sdl.SDL_SemWait Method 

This function suspends the calling thread until the semaphore pointed to by sem has a positive count. It then atomically decreases the semaphore count.

[Visual Basic]
Public Shared Function SDL_SemWait( _
   ByVal sem As IntPtr _
) As Integer
[C#]
public static int SDL_SemWait(
   IntPtr sem
);

Remarks

Binds to C-function call in SDL_mutex.h:

extern DECLSPEC int SDLCALL SDL_SemWait(SDL_sem *sem)

See Also

Sdl Class | Tao.Sdl Namespace