12#ifndef ROOT_TSpinLockGuard
13#define ROOT_TSpinLockGuard
40 while (
fAFlag.test_and_set(std::memory_order_acquire));
43 fAFlag.clear(std::memory_order_release);
A spin mutex-as-code-guard class.
TSpinLockGuard(std::atomic_flag &aflag)
std::atomic_flag & fAFlag
Namespace for new ROOT classes and functions.