[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]


cma_cond_broadcast

Wakes all threads that are waiting on a condition variable.

Syntax

cma_cond_broadcast(
                   condition);
 


Argument Data Type Access

condition opaque cma_t_cond read


C Binding

#include 

void cma_cond_broadcast ( cma_t_cond *condition);

Arguments

condition
Handle of the condition variable broadcast.

Description

This routine wakes all threads waiting on a condition variable. Calling this routine implies that data guarded by the associated mutex has changed so that it might be possible for more than one waiting thread to proceed. If only one waiting thread might be able to proceed, call cma_cond_signal.

You can call this routine when the associated mutex is either locked or unlocked.

Exceptions

cma_e_existence
cma_e_use_error



[Return to Bookshelf] [Contents] [Previous Section] [Next Section] [Index] [Help]