CV
Condition variables (CV) are attached to mutexes when they are created. You need to ask a mutex to create a condition variable.
class CV { public: void wait(); void signal(); void broadcast(); void aWait(); void aSignal(); void aBroadcast(); static CV* reify (CV_T); static void destroy (CV*); }
signal
or
broadcast
operation on this CV.
wait
, signal
and broadcast
require their associated
mutex to be acquired.
aWait
, aSignal
and aBroadcast
are the corresponding
functions which acquire and release their locks implicitely. So their
locks must not be taken before calling them (dead-lock).
CV
instance.
Go to the first, previous, next, last section, table of contents.