54 TAU_PROFILE(
"ConditionVarDirect::wait()",
" ", TAU_USER);
68 TAU_PROFILE(
"ConditionVarDirect::wait(double)",
" ", TAU_USER);
86 TAU_PROFILE(
"ConditionVarDirect::notify()",
" ", TAU_USER);
ConditionVarDirect(MutexDirect &mutex)
You must pass in a Mutex to the condition variable constructor.
MutexDirect & get_mutex() const
Returns the mutex associated with this condition variable.
void wait()
Waits on the condition.
void notify()
Informs one of the other threads who are currently blocked on wait() that the relevant condition has ...
This class implements a standard mutex by making direct calls to the underlying implementation layer.