opensolaris man page for sdl_mutexp

Query: sdl_mutexp

OS: opensolaris

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SDL_mutexP(3)							 SDL API Reference						     SDL_mutexP(3)

NAME
SDL_mutexP - Lock a mutex
SYNOPSIS
#include "SDL.h" #include "SDL_thread.h" int SDL_mutexP(SDL_mutex *mutex);
DESCRIPTION
Locks the mutex, which was previously created with SDL_CreateMutex. If the mutex is already locked then SDL_mutexP will not return until it is unlocked. Returns 0 on success, or -1 on an error. SDL also defines a macro #define SDL_LockMutex(m) SDL_mutexP(m).
SEE ALSO
SDL_CreateMutex, SDL_mutexV
SDL
Tue 11 Sep 2001, 23:01 SDL_mutexP(3)
Related Man Pages
sdl_semwaittimeout(3) - redhat
sdl_semtrywait(3) - debian
sdl_locksurface(3) - suse
sdl::color(3) - suse
sdl::cdtrack(3pm) - debian
Similar Topics in the Unix Linux Community
Trying to block signal
How to learn UNIX
PHP Man Pages Now Available (Over 10,000)
What's legal and what's not?
Identify problem with while getopts