broadcast a wake up to all LWPs waiting on a condition variable
int _lwp_cond_broadcast(lwp_cond_t *cond);
pointer to condition variable to be broadcast
_lwp_cond_broadcast wakes up all the lightweight processes (LWPs)
waiting on the condition cond.
If more than one LWP is waiting, the order of release from the blocked group is
_lwp_cond_broadcast has no effect if there are no LWPs waiting on the
The condition variable denoted by cond
must previously have been statically initialized (zero-filled).
_lwp_cond_broadcast returns zero for success
and an error number for failure, as described below.
If any of the following conditions is detected,
_lwp_cond_broadcast returns the corresponding value:
The condition variable pointed to by cond is invalid.
The cond parameter points to an illegal address.
(This error may not be detected; a SIGSEGV signal may be posted to the
faulting LWP if an illegal address is used.)
See the description of how to use condition variables
under USAGE on
Lightweight processes (LWPs) are internal interfaces and are subject
to change. Their use should be avoided.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 - 01 June 2005