ezEngine  Release 25.03
ezNoMutex Class Reference

A dummy mutex that does no locking. More...

#include <Mutex.h>

Public Member Functions

EZ_ALWAYS_INLINE void Lock ()
 Implements the 'Acquire' interface function, but does nothing.
 
EZ_ALWAYS_INLINE ezResult TryLock ()
 Implements the 'TryLock' interface function, but does nothing.
 
EZ_ALWAYS_INLINE void Unlock ()
 Implements the 'Release' interface function, but does nothing.
 
EZ_ALWAYS_INLINE bool IsLocked () const
 

Detailed Description

A dummy mutex that does no locking.

Used when a mutex object needs to be passed to some code (such as allocators), but thread-synchronization is actually not necessary.


The documentation for this class was generated from the following file: