mehdi_amini added inline comments. ================ Comment at: unittests/Support/ThreadPool.cpp:102 ASSERT_EQ(5, checked_in); } ---------------- You need to make sure this works with LLVM_ENABLE_THREADS=OFF https://reviews.llvm.org/D27159