Wakes at least one thread that is waiting on the specified
condition variable.
1 – C Binding
#include <tis.h>
int
tis_cond_signal (
pthread_cond_t *cond);
2 – Arguments
cond
Address of the condition variable (passed by reference) on which
to signal.
3 – 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() description.
4 – Return Values
If an error condition occurs, this routine returns an integer
value indicating the type of error. Possible return values are as
follows:
Return Description
0 Successful completion.
[EINVAL] The value specified by cond is not a valid condition
variable.
5 – Associated Routines
tis_cond_broadcast()
tis_cond_destroy()
tis_cond_init()
tis_cond_wait()