Declares a Mutex, Mutex tools, and at least one MutexLike object.
Int32 AtomicCompareAndSwap32(Int32 *VariableToChange, const Int32 &OldValue, const Int32 &NewValue)
Atomically Compares And Swaps a 32 bit value.
void Lock()
Lock the SpinLock.
bool TryLock()
Try to lock the spinlock.
Simple thread safe ways to check and change a specified variable atomically.
The bulk of the engine components go in this namspace.
void Unlock()
Unlock the spinlock.
SpinLock()
Constructor, creates an unlocked mutex.