---
name: "SDL_CondSignal"
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_CondSignal"
---

# SDL\_CondSignal(3)

Restart a thread wait on a condition variable

## NAME

SDL\_CondSignal - Restart a thread wait on a condition variable

## SYNOPSIS

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

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

## DESCRIPTION

Restart one of the threads that are waiting on the condition variable, **cond**. Returns **0** on success of **-1** on an error.

## SEE ALSO

**SDL\_CondWait**, **SDL\_CondBroadcast**
