18ReMutexHolder(
const ReMutex &mutex) {
19#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
31#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
33 _mutex->
acquire(current_thread);
46#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
47 if (mutex ==
nullptr) {
60#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
void acquire() const
Grabs the reMutex if it is available.
A thread; that is, a lightweight process.