SDL_CreateCondition - Man Page

Create a condition variable.

Synopsis

#include <SDL3/SDL_mutex.h>

SDL_Condition * SDL_CreateCondition(void);

Return Value

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

Availability

This function is available since SDL 3.2.0.

See Also

SDL_BroadcastCondition(3), SDL_SignalCondition(3), SDL_WaitCondition(3), SDL_WaitConditionTimeout(3), SDL_DestroyCondition(3)

Referenced By

SDL_DestroyCondition(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS