Mercurial > sdl-ios-xcode
comparison include/SDL_mutex.h @ 1263:3bdcef7e1c90
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 25 Jan 2006 06:53:50 +0000 |
parents | b8d311d90021 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1262:09164d2b8373 | 1263:3bdcef7e1c90 |
---|---|
143 */ | 143 */ |
144 extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond); | 144 extern DECLSPEC int SDLCALL SDL_CondBroadcast(SDL_cond *cond); |
145 | 145 |
146 /* Wait on the condition variable, unlocking the provided mutex. | 146 /* Wait on the condition variable, unlocking the provided mutex. |
147 The mutex must be locked before entering this function! | 147 The mutex must be locked before entering this function! |
148 The mutex is re-locked once the condition variable is signaled. | |
148 Returns 0 when it is signaled, or -1 on error. | 149 Returns 0 when it is signaled, or -1 on error. |
149 */ | 150 */ |
150 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut); | 151 extern DECLSPEC int SDLCALL SDL_CondWait(SDL_cond *cond, SDL_mutex *mut); |
151 | 152 |
152 /* Waits for at most 'ms' milliseconds, and returns 0 if the condition | 153 /* Waits for at most 'ms' milliseconds, and returns 0 if the condition |