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
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.