A simple spinlock mutex built around std::atomic_flag.
More...
#include "utility.hpp"
Public Member Functions | |
| spinlock (const spinlock &)=delete | |
| spinlock & | operator= (const spinlock &)=delete |
| spinlock (spinlock &&)=delete | |
| spinlock & | operator= (spinlock &&)=delete |
| void | lock (std::memory_order _o=std::memory_order_acquire) noexcept |
| void | unlock (std::memory_order _o=std::memory_order_release) noexcept |
A simple spinlock mutex built around std::atomic_flag.
Definition at line 304 of file utility.hpp.