class sys::spin_mutex
Fast mutex that does not use system calls. Uses std::atomic_flag.
sys::recursive_spin_mutex
spin_mutex()
Construct spin mutex.
try_lock() -> bool
Try to lock the mutex without blocking.
unlock() -> void
Unlock the mutex.
lock() -> void
Lock the mutex.