SDL_SignalCondition - Man Page

Restart one of the threads that are waiting on the condition variable.

Header File

Defined in SDL3/SDL_mutex.h

Synopsis

#include "SDL3/SDL.h"

void SDL_SignalCondition(SDL_Condition *cond);

Function Parameters

cond

the condition variable to signal.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL 3.2.0.

See Also

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

Referenced By

SDL_BroadcastCondition(3), SDL_CreateCondition(3), SDL_WaitCondition(3), SDL_WaitConditionTimeout(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS