Function sdl2_sys::SDL_CondSignal

source ·
pub unsafe extern "C" fn SDL_CondSignal(cond: *mut SDL_cond) -> c_int
Expand description

Restart one of the threads that are waiting on the condition variable.

\param cond the condition variable to signal \returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.

\since This function is available since SDL 2.0.0.

\sa SDL_CondBroadcast \sa SDL_CondWait \sa SDL_CondWaitTimeout \sa SDL_CreateCond \sa SDL_DestroyCond