cond_broadcast(3scl)cond_broadcast(3scl)NAMEcond_broadcast - Wakes all threads that are waiting on the specified
SCL Threads Library (libthread.so)
cond_t *condp );
Address of the condition variable upon which the threads to be awakened
This routine unblocks all threads waiting on the specified condition
SCL IMPLEMENTATION NOTEScond_broadcast(3scl) is implemented by calling pthread_cond_broad‐
cond_broadcast(3scl) first checks if the specified condition variable
is valid: if it is not, then the condition variable is initialized for
intra-process thread synchronization (type USYNC_THREAD) by calling
pthread_cond_init(3). This action matches the observed behaviour of
If an error condition occurs, this routine returns an integer value
indicating the type of error.
Additional error return information may be written to the SCL error
log. Refer to scl_error_log(4scl) for details.
Possible return values are as follows: Successful completion. An
internal implementation error occurred. Refer to the SCL errorlog for
Note: EFAULT is not returned if condp is an illegal address. An illegal
address generates a SIGSEGV signal, which by default will abort the
process and generate a core dump.
Functions: cond_destroy(3scl), cond_init(3scl), cond_signal(3scl),
cond_timedwait(3scl), cond_wait(3scl), pthread_cond_broadcast(3),
pthread_cond_init(3), scl_intro(3scl), scl_thread_intro(3scl)
Manuals: Solaris Compatibility Libraries User's Guide