Skip to main content

SDL_CreateCondition

Function SDL_CreateCondition 

Source
pub unsafe extern "C" fn SDL_CreateCondition() -> *mut SDL_Condition
Expand description

Create a condition variable.

Returns: a new condition variable or NULL on failure; call SDL_GetError() for more information.

Thread Safety: It is safe to call this function from any thread.

Available Since: This function is available since SDL 3.2.0.

See Also: SDL_BroadcastCondition See Also: SDL_SignalCondition See Also: SDL_WaitCondition See Also: SDL_WaitConditionTimeout See Also: SDL_DestroyCondition