![]() |
ezEngine
Release 25.03
|
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 |
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.