22 MutexHolder(
const Mutex &mutex) {
23 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
38 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
61 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
62 if (mutex == (
Mutex *)NULL) {
77 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
97 INLINE
void MutexHolder::
A standard mutex, or mutual exclusion lock.
A lightweight C++ object whose constructor calls acquire() and whose destructor calls release() on a ...
void acquire() const
Grabs the mutex if it is available.
A thread; that is, a lightweight process.