mclow.lists added inline comments. ================ Comment at: src/thread.cpp:59 @@ -58,1 +58,3 @@ throw system_error(error_code(ec, system_category()), "thread::join failed"); +#else + if (ec) ---------------- Need to fix these, too. https://reviews.llvm.org/D23855