Function cvm_broadcast

Function Documentation

status_t cvm_broadcast(struct cvm *cvm)

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 cvm_wait() or cvm_timedwait() will own the mutex it entered its waiting function with.

Parameters:

cvm – The CVM handle.

Returns:

status_t.