SysTutorials

Linux Manual Pages › Section 3

cbroadcast(3)

cBroadcast – broadcast signal to all waiting threads.

Synopsis

#include <util/ulocks.h>
NEOERR *cBroadcast(pthread_cond_t *cond);

Arguments

cond – condition variable to broadcast on.

Description

Broadcasts a signal to all threads waiting on condition variable <cond>.

MT-Level: Safe.

Return Value

None.

See Also

mCreate(3), fCreate(3), mUnlock(3), fUnlock(3), cBroadcast(3), cSignal(3), fFind(3), cDestroy(3), cCreate(3), mDestroy(3), cWait(3), fLock(3), fDestroy(3), mLock