carb::thread::Spinlock

Defined in carb/thread/Spinlock.h

using carb::thread::Spinlock = detail::SpinlockImpl<detail::RecursionPolicyDisallow>

A spinlock implementation that does not allow recursion.

Warning

Attempts to use this class in a recursive manner will call std::terminate().