17 INLINE LightReMutexHolder::
19 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
29 INLINE LightReMutexHolder::
31 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
33 _mutex->
acquire(current_thread);
45 INLINE LightReMutexHolder::
47 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
48 if (mutex ==
nullptr) {
59 INLINE LightReMutexHolder::
60 ~LightReMutexHolder() {
61 #if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
void acquire() const
Grabs the lightReMutex if it is available.
A lightweight reentrant mutex.
A thread; that is, a lightweight process.