Namespaces
Variants
Views
Actions

cnd_signal

From cppreference.com
< c‎ | thread
Revision as of 18:36, 9 July 2013 by P12bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Defined in header <threads.h>
int cnd_signal( cnd_t *cond );
(since C11)

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

[edit] Parameters

cond - pointer to a condition variable

[edit] Return value

thrd_success if successful, thrd_error otherwise.

[edit] See also

unblocks all threads blocked on a condition variable
(function) [edit]