Namespaces
Variants
Views
Actions

cnd_broadcast

From cppreference.com
< c‎ | thread
Revision as of 15:36, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <threads.h>
int cnd_broadcast( cnd_t *cond );
(since C11)

Unblocks all thread that currently wait on condition variable pointed to by cond. If no threads are blocked, does nothing and returns thrd_success.

Parameters

cond - pointer to a condition variable

Return value

thrd_success if successful, thrd_error otherwise.

See also

Template:c/thread/dcl list cnd signal