18 #include "pandabase.h" 19 #include "mutexTrueImpl.h" 35 INLINE ~MutexDirect();
37 INLINE MutexDirect(
const MutexDirect ©);
38 INLINE
void operator = (
const MutexDirect ©);
41 BLOCKING INLINE
void acquire()
const;
42 BLOCKING INLINE
bool try_acquire()
const;
43 INLINE
void release()
const;
44 INLINE
bool debug_is_locked()
const;
46 INLINE
void set_name(
const string &name);
47 INLINE
void clear_name();
48 INLINE
bool has_name()
const;
49 INLINE
string get_name()
const;
51 void output(ostream &out)
const;
66 #include "mutexDirect.I" 68 #endif // !DEBUG_THREADS A condition variable, usually used to communicate information about changing state to a thread that i...
void output(ostream &out) const
This method is declared virtual in MutexDebug, but non-virtual in MutexDirect.
A thread; that is, a lightweight process.
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...
A condition variable, usually used to communicate information about changing state to a thread that i...
This class implements a standard mutex by making direct calls to the underlying implementation layer...