table of contents
SDL_CreateCondition(3) | SDL3 FUNCTIONS | SDL_CreateCondition(3) |
NAME¶
SDL_CreateCondition - 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)
SDL 3.2.14 | Simple Directmedia Layer |