Scroll to navigation

SDL_CondSignal(3) SDL3 FUNCTIONS SDL_CondSignal(3)

NAME

SDL_CondSignal - Restart one of the threads that are waiting on the condition variable.

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_CondSignal(SDL_cond *cond);

FUNCTION PARAMETERS

the condition variable to signal

RETURN VALUE

Returns 0 on success or a negative error code on failure; call

SDL_GetError () for more information.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_CondBroadcast(3), SDL_CondWait(3), SDL_CondWaitTimeout(3), SDL_CreateCond(3), SDL_DestroyCond(3)

SDL 3.0.0 SDL