18 MutexHolder(
const Mutex &mutex) {
19 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 31 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 49 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 50 if (mutex ==
nullptr) {
63 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) A standard mutex, or mutual exclusion lock.
void acquire() const
Grabs the mutex if it is available.
A thread; that is, a lightweight process.