👤
Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

OpenSolaris 2009.06 - man page for sdl_mutexp (opensolaris section 3)

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)


All times are GMT -4. The time now is 09:24 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
×
UNIX.COM Login
Username:
Password:  
Show Password





Not a Forum Member?
Forgot Password?