14#ifndef CONDITIONVARFULLDIRECT_H
15#define CONDITIONVARFULLDIRECT_H
43 BLOCKING INLINE
void wait();
44 BLOCKING INLINE
void wait(
double timeout);
47 void output(std::ostream &out)
const;
51 ConditionVarFullImpl _impl;
A condition variable, usually used to communicate information about changing state to a thread that i...
void notify()
Informs one of the other threads who are currently blocked on wait() that the relevant condition has ...
MutexDirect & get_mutex() const
Returns the mutex associated with this condition variable.
void notify_all()
Informs all of the other threads who are currently blocked on wait() that the relevant condition has ...
ConditionVarFullDirect(MutexDirect &mutex)
You must pass in a Mutex to the condition variable constructor.
void wait()
Waits on the condition.
void output(std::ostream &out) const
This method is declared virtual in ConditionVarFullDebug, but non-virtual in ConditionVarFullDirect.
This class implements a standard mutex by making direct calls to the underlying implementation layer.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.