Function condv_broadcast

Function Documentation

status_t condv_broadcast(struct condv *cv)

Broadcast to everyone waiting on a condition variable.

This function unblocks all threads currently blocked on the condition variable. Each thread, upon its return from condv_wait() or condv_timedwait() will own the mutex it entered its waiting function with.

Parameters:

cv – The cv handle.

Returns:

status_t.