tis_cond_broadcast(3) — Subroutines
NAME
tis_cond_broadcast − Wakes all threads that are waiting on the specified condition variable.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
int tis_cond_broadcast(
pthread_cond_t ∗cond);
STANDARDS
None
PARAMETERS
condAddress of the condition variable (passed by reference) on which to broadcast.
DESCRIPTION
When threads are not present, this routine performs no actions.
When threads are present, this routine unblocks all threads waiting on the specified condition variable cond.
For more information about actions when threads are present, refer to the pthread_cond_broadcast(3) description.
RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
0Successful completion.
[EINVAL]The value specified by cond is invalid.)
ERRORS
None
RELATED INFORMATION
Functions: tis_cond_destroy(3), tis_cond_init(3), tis_cond_signal(3), tis_cond_wait(3)
Manuals: Guide to DECthreads and Programmer’s Guide