Unix/Linux Go Back    

CentOS 7.0 - man page for sdl_mutexp (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SDL_mutexP(3)				SDL API Reference			    SDL_mutexP(3)

       SDL_mutexP - Lock a mutex

       #include "SDL.h" #include "SDL_thread.h"

       int SDL_mutexP(SDL_mutex *mutex);

       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).

       SDL_CreateMutex, SDL_mutexV

SDL				      Tue 11 Sep 2001, 23:01			    SDL_mutexP(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:13 PM.