Scroll to navigation

SDL_CreateCondition(3) SDL3 FUNCTIONS SDL_CreateCondition(3)

NAME

SDL_CreateCondition - Create a condition variable.

SYNOPSIS

#include "SDL3/SDL.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.0.0.

SEE ALSO

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

SDL 3.1.0 SDL