acedia::util::Spinlock Class Reference

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>

List of all members.


Detailed Description

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.


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2