|
RavEngine
|
#include <SpinLock.hpp>
Public Member Functions | |
| void | lock () |
| void | unlock () |
| SpinLock (const SpinLock &other) | |
| void | operator= (const SpinLock &other) |
A spinlock implemented using std::atomic_flag, which uses test-and-set instead of kernel calls.