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

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

#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: