logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_BroadcastCondition - Restart all threads that are waiting on the condition variable.

Availability

       This function is available since SDL 3.2.0.

Function Parameters

cond   the condition variable to signal.

Name

       SDL_BroadcastCondition - Restart all threads that are waiting on the condition variable.

See Also

SDL_SignalCondition(3), SDL_WaitCondition(3), SDL_WaitConditionTimeout(3)

Simple Directmedia Layer                           SDL 3.2.20                          SDL_BroadcastCondition(3)

Synopsis

#include<SDL3/SDL_mutex.h>voidSDL_BroadcastCondition(SDL_Condition*cond);

Thread Safety

       It is safe to call this function from any thread.

See Also