SDL_CreateCondition - Man Page

Create a condition variable.

Header File

Defined in SDL3/SDL_mutex.h

Synopsis

#include "SDL3/SDL.h"

SDL_Condition * SDL_CreateCondition(void);

Return Value

( SDL_Condition
*) 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

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

Referenced By

SDL_DestroyCondition(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS