21 INLINE ReMutexHolder::
22 ReMutexHolder(
const ReMutex &mutex) {
23 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
36 INLINE ReMutexHolder::
38 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
40 _mutex->
acquire(current_thread);
55 INLINE ReMutexHolder::
57 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
71 INLINE ReMutexHolder::
73 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
83 INLINE ReMutexHolder::
93 INLINE
void ReMutexHolder::
void acquire() const
Grabs the reMutex if it is available.
Similar to MutexHolder, but for a reentrant mutex.
A thread; that is, a lightweight process.