---
name: "SDL_CondBroadcast"
section: "3"
platform: "linux"
package: "libsdl1.2-dev"
version: "1.2.15+dfsg2-8"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_CondBroadcast"
---

# SDL\_CondBroadcast(3)

Restart all threads waiting on a condition variable

## NAME

SDL\_CondBroadcast - Restart all threads waiting on a condition variable

## SYNOPSIS

**#include "SDL.h"** **#include "SDL\_thread.h"**

**int SDL\_CondBroadcast**(**SDL\_cond \*cond**);

## DESCRIPTION

Restarts all threads that are waiting on the condition variable, **cond**. Returns **0** on success, or **-1** on an error.

## SEE ALSO

**SDL\_CondSignal**, **SDL\_CondWait**
