VMS Help
POSIX Threads, TIS routines, tis_cond_broadcast
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Wakes all threads that are waiting on a condition variable.
#include <tis.h>
int
tis_cond_broadcast (
pthread_cond_t *cond);
cond
Address of the condition variable (passed by reference) on which
to broadcast.
When threads are not present, this routine has no effect.
When threads are present, this routine unblocks all threads
waiting on the specified condition variable cond.
For further information about actions when threads are present,
refer to the pthread_cond_broadcast() description.
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.
tis_cond_destroy()
tis_cond_init()
tis_cond_signal()
tis_cond_wait()
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.