Home | History | Annotate | Download | only in include

Lines Matching full:mutex

53  *  \name Mutex functions
57 /* The SDL mutex structure, defined in SDL_sysmutex.c */
62 * Create a mutex, initialized unlocked.
67 * Lock the mutex.
72 extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex);
75 * Try to lock the mutex
79 extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex);
82 * Unlock the mutex.
86 * \warning It is an error to unlock a mutex that has not been locked by
90 extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex);
93 * Destroy a mutex.
95 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex);
97 /* @} *//* Mutex functions */
190 * with the mutex locked or not. There is some potential performance
195 * mutex is locked.
219 * Wait on the condition variable, unlocking the provided mutex.
221 * \warning The mutex must be locked before entering this function!
223 * The mutex is re-locked once the condition variable is signaled.
227 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond * cond, SDL_mutex * mutex);
238 SDL_mutex * mutex, Uint32 ms);