Games Task Scheduler (GTS)
A multi-processor scheduling framework for games engines
|
A unfair (first-ready-first-serve) spin mutex. More...
#include <SpinMutex.h>
Public Types | |
using | backoff_type = TBackoff |
Public Member Functions | |
GTS_INLINE | UnfairSpinMutex (UnfairSpinMutex &&other) |
GTS_INLINE UnfairSpinMutex & | operator= (UnfairSpinMutex &&other) |
GTS_INLINE bool | try_lock () |
GTS_INLINE void | lock () |
GTS_INLINE void | unlock () |
GTS_INLINE bool | isLocked () const |
A unfair (first-ready-first-serve) spin mutex.