A Spinlock is a lock where the thread simply waits in a loop ("spins") repeatedly checking until the lock becomes available. More...
#include <acedia_util.hpp>
A Spinlock is a lock where the thread simply waits in a loop ("spins") repeatedly checking until the lock becomes available.
Spinlocks are efficient if threads are only likely to be blocked for a short period of time but become wasteful if held for longer durations.
Definition at line 407 of file acedia_util.hpp.