Home | History | Annotate | Download | only in SDL

Lines Matching full:mutex

50 /* Mutex functions                                               */
53 /* The SDL mutex structure, defined in SDL_mutex.c */
57 /* Create a mutex, initialized unlocked */
60 /* Lock the mutex (Returns 0, or -1 on error) */
62 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);
64 /* Unlock the mutex (Returns 0, or -1 on error)
65 It is an error to unlock a mutex that has not been locked by
69 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);
71 /* Destroy a mutex */
72 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex);
141 /* Wait on the condition variable, unlocking the provided mutex.
142 The mutex must be locked before entering this function!
143 The mutex is re-locked once the condition variable is signaled.
154 extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);