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
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...