15 #ifndef CONDITIONVAR_H 16 #define CONDITIONVAR_H 18 #include "pandabase.h" 19 #include "conditionVarDebug.h" 20 #include "conditionVarDirect.h" 45 class EXPCL_PANDA_PIPELINE
ConditionVar :
public ConditionVarDebug
48 #endif // DEBUG_THREADS 52 INLINE ~ConditionVar();
55 INLINE
void operator = (
const ConditionVar ©);
65 INLINE
void notify_all();
71 #include "conditionVar.I" A standard mutex, or mutual exclusion lock.
A condition variable, usually used to communicate information about changing state to a thread that i...
ConditionVar(Mutex &mutex)
You must pass in a Mutex to the condition variable constructor.
A condition variable, usually used to communicate information about changing state to a thread that i...
Mutex & get_mutex() const
Returns the mutex associated with this condition variable.