17 INLINE ReMutexHolder::
18 ReMutexHolder(
const ReMutex &mutex) {
19 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 29 INLINE ReMutexHolder::
31 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 33 _mutex->
acquire(current_thread);
44 INLINE ReMutexHolder::
46 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS) 47 if (mutex ==
nullptr) {
58 INLINE ReMutexHolder::
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.