Death::Threading::Spinlock class

Lightweight spinlock implementation.

Constructors, destructors, conversion operators

Spinlock() defaulted
Spinlock(Spinlock const&) deleted

Public functions

auto operator=(Spinlock const&) -> Spinlock& deleted
void lock() noexcept
void unlock() noexcept