Copyright (C) 2000-2012 |
Manpages SDL_mutexPSection: SDL API Reference (3)Updated: Tue 11 Sep 2001, 23:01 Index Return to Main Contents NAMESDL_mutexP- Lock a mutexSYNOPSIS#include "SDL.h" #include "SDL_thread.h" int SDL_mutexP(SDL_mutex *mutex); DESCRIPTIONLocks 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 ALSOSDL_CreateMutex, SDL_mutexV
IndexThis document was created by man2html, using the manual pages. Time: 06:59:52 GMT, April 26, 2024 |