---
name: "SDL_BroadcastCondition"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_BroadcastCondition"
---

# SDL\_BroadcastCondition(3)

Restart all threads that are waiting on the condition variable.

## NAME

SDL\_BroadcastCondition - 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)](/SDL_SignalCondition/3.md), **•**(3), [**SDL\_WaitCondition**(3)](/SDL_WaitCondition/3.md), **•**(3), [**SDL\_WaitConditionTimeout**(3)](/SDL_WaitConditionTimeout/3.md)
