17INLINE LightMutexHolder::
19#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
33INLINE LightMutexHolder::
35#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
36 if (mutex ==
nullptr) {
47INLINE LightMutexHolder::
49#if defined(HAVE_THREADS) || defined(DEBUG_THREADS)
void acquire() const
Grabs the lightMutex if it is available.
This is a standard, non-reentrant mutex, similar to the Mutex class.