tis_cond_signal(3) — Subroutines
NAME
tis_cond_signal − Wakes at least one thread that is waiting on the specified condition variable.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
int tis_cond_signal(
pthread_cond_t ∗cond);
STANDARDS
None
PARAMETERS
condAddress of the condition variable (passed by reference) on which to signal.
DESCRIPTION
When threads are present, this routine unblocks at least one thread that is waiting on the specified condition variable cond. When threads are not present, this routine has no effect.
For more information about actions taken when threads are present, refer to the pthread_cond_signal(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 not a valid condition variable.
ERRORS
None
RELATED INFORMATION
Functions: tis_cond_broadcast(3), tis_cond_destroy(3), tis_cond_init(3), tis_cond_wait(3)
Manuals: Guide to DECthreads and Programmer’s Guide