sdlBroadcastCondition function

void sdlBroadcastCondition(
  1. Pointer<SdlCondition> cond
)

Restart all threads that are waiting on the condition variable.

\param cond the condition variable to signal.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.1.3.

\sa SDL_SignalCondition \sa SDL_WaitCondition \sa SDL_WaitConditionTimeout

extern SDL_DECLSPEC void SDLCALL SDL_BroadcastCondition(SDL_Condition *cond)

Implementation

void sdlBroadcastCondition(Pointer<SdlCondition> cond) {
  final sdlBroadcastConditionLookupFunction = libSdl3.lookupFunction<
      Void Function(Pointer<SdlCondition> cond),
      void Function(Pointer<SdlCondition> cond)>('SDL_BroadcastCondition');
  return sdlBroadcastConditionLookupFunction(cond);
}