zenilib
0.5.3.0
|
Go to the source code of this file.
Functions | |
SDL_mutex * | SDL_CreateMutex (void) |
void | SDL_DestroyMutex (SDL_mutex *mutex) |
int | SDL_mutexP (SDL_mutex *mutex) |
int | SDL_mutexV (SDL_mutex *mutex) |
Create a mutex, initialized unlocked.
Definition at line 38 of file SDL_sysmutex.c.
References NULL, SDL_CreateSemaphore(), SDL_free(), SDL_malloc(), and SDL_OutOfMemory.
Destroy a mutex.
Definition at line 61 of file SDL_sysmutex.c.
References SDL_DestroySemaphore(), and SDL_free().
Definition at line 73 of file SDL_sysmutex.c.
References NULL, SDL_SemWait(), SDL_SetError(), and SDL_ThreadID().
Definition at line 103 of file SDL_sysmutex.c.
References NULL, SDL_SemPost(), SDL_SetError(), and SDL_ThreadID().