Lines Matching full:condition
161 * \name Condition variable functions
165 /* The SDL condition variable structure, defined in SDL_syscond.c */
170 * Create a condition variable.
172 * Typical use of condition variables:
176 * while ( ! condition ) {
184 * condition = true;
189 * There is some discussion whether to signal the condition variable
194 * In general it's safer to signal the condition variable while the
200 * Destroy a condition variable.
205 * Restart one of the threads that are waiting on the condition variable.
212 * Restart all threads that are waiting on the condition variable.
219 * Wait on the condition variable, unlocking the provided mutex.
223 * The mutex is re-locked once the condition variable is signaled.
230 * Waits for at most \c ms milliseconds, and returns 0 if the condition
231 * variable is signaled, ::SDL_MUTEX_TIMEDOUT if the condition is not
240 /* @} *//* Condition variable functions */