Components
Guides
Documenting
Defined in carb/tasking/TaskingUtils.h
carb::tasking::
::
SpinMutex
This atomic spin lock conforms to C++ Named Requirements of Lockable which makes it compatiable with std::lock_guard.
Public Functions
Constructs the SpinMutex.
lock
Spins until the lock is acquired.
See § 30.4.1.2.1 in the C++11 standard.
try_lock
Attempts to acquire the lock, on try, returns true if the lock was acquired.
unlock
Unlocks, wait-free.