SDL_BroadcastCondition - Man Page

Restart all threads that are waiting on the condition variable.

Header File

Defined in SDL3/SDL_mutex.h

Synopsis

#include "SDL3/SDL.h"

void SDL_BroadcastCondition(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_SignalCondition(3), ·(3), SDL_WaitCondition(3), ·(3), SDL_WaitConditionTimeout(3)

Referenced By

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

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS