commit | ae55d356be840aab2898f47a9c704e7a542f76c2 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Mon Aug 31 00:09:01 2015 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Mon Aug 31 00:09:01 2015 +0000 |
tree | c1cca930c8dbd5735f81d7fa1c56e7b27a67dafd | |
parent | fdc7c7ad10aded7dbd3bb2ce85f194efa5d08c06 [diff] |
Support: Support LLVM_ENABLE_THREADS=0 in llvm/Support/thread.h. Specifically, the header now provides llvm::thread, which is either a typedef of std::thread or a replacement that calls the function synchronously depending on the value of LLVM_ENABLE_THREADS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@246402 91177308-0d34-0410-b5e6-96231b3b80d8