SDL 2.0
|
Go to the source code of this file.
Data Structures | |
struct | SDL_mutex |
Functions | |
SDL_mutex * | SDL_CreateMutex (void) |
void | SDL_DestroyMutex (SDL_mutex *mutex) |
int | SDL_LockMutex (SDL_mutex *mutex) |
int | SDL_TryLockMutex (SDL_mutex *mutex) |
int | SDL_mutexV (SDL_mutex *mutex) |
Create a mutex, initialized unlocked.
Definition at line 38 of file SDL_sysmutex.c.
int SDL_LockMutex | ( | SDL_mutex * | mutex | ) |
Definition at line 73 of file SDL_sysmutex.c.
int SDL_mutexV | ( | SDL_mutex * | mutex | ) |
Definition at line 136 of file SDL_sysmutex.c.
References mutex, NULL, SDL_mutex::owner, SDL_mutex::recursive, SDL_SemPost, SDL_SetError, SDL_ThreadID, and SDL_mutex::sem.
int SDL_TryLockMutex | ( | SDL_mutex * | mutex | ) |
Try to lock the mutex
Definition at line 103 of file SDL_sysmutex.c.