XII Release 0.1.0
Loading...
Searching...
No Matches
xiiNoMutex Class Reference

#include <Mutex.h>

Public Member Functions

XII_ALWAYS_INLINE void Lock ()
 Implements the 'Acquire' interface function, but does nothing.
XII_ALWAYS_INLINE xiiResult TryLock ()
 Implements the 'TryLock' interface function, but does nothing.
XII_ALWAYS_INLINE void Unlock ()
 Implements the 'Release' interface function, but does nothing.
XII_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:
  • /home/runner/work/XII/XII/Source/Engine/Foundation/Threading/Mutex.h