17INLINE LightReMutexHolder::
19#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
29INLINE LightReMutexHolder::
31#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
33 _mutex->
acquire(current_thread);
45INLINE LightReMutexHolder::
47#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
48 if (mutex ==
nullptr) {
59INLINE 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.