Home | History | Annotate | Download | only in SDL

Lines Matching full:mutex

55 /* Mutex functions                                               */
58 /* The SDL mutex structure, defined in SDL_mutex.c */
62 /* Create a mutex, initialized unlocked */
65 /* Lock the mutex (Returns 0, or -1 on error) */
67 extern DECLSPEC int SDLCALL SDL_mutexP(SDL_mutex *mutex);
69 /* Unlock the mutex (Returns 0, or -1 on error)
70 It is an error to unlock a mutex that has not been locked by
74 extern DECLSPEC int SDLCALL SDL_mutexV(SDL_mutex *mutex);
76 /* Destroy a mutex */
77 extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex *mutex);
146 /* Wait on the condition variable, unlocking the provided mutex.
147 The mutex must be locked before entering this function!
158 extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond *cond, SDL_mutex *mutex, Uint32 ms);