TSAN seems to have problems with homegrown sync primitives, such as spinlocks, so we just don't use them when TSAN is enabled.
TSAN seems to have problems with homegrown sync primitives, such as spinlocks, so we just don't use them when TSAN is enabled.