When building with the new tsan preset (just test-tsan), the moodycamel::ConcurrentQueue library (used in work_stealing_queue.cpp) fails to compile with -Werror=tsan: atomic_thread_fence is not supported with '-fsanitize=thread'. This blocks running the full concurrency test suite under TSan. Options: (1) disable -Werror for the TSan build, (2) suppress the specific warning for that translation unit, or (3) replace concurrentqueue with a TSan-clean alternative. The ThreadPool itself is clean — only the work-stealing components are affected.
Follow-up from #145
When building with the new
tsanpreset (just test-tsan), themoodycamel::ConcurrentQueuelibrary (used inwork_stealing_queue.cpp) fails to compile with-Werror=tsan:atomic_thread_fence is not supported with '-fsanitize=thread'. This blocks running the full concurrency test suite under TSan. Options: (1) disable-Werrorfor the TSan build, (2) suppress the specific warning for that translation unit, or (3) replace concurrentqueue with a TSan-clean alternative. The ThreadPool itself is clean — only the work-stealing components are affected.Follow-up from #145