projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a C++11 ThreadPool implementation in LLVM
[oota-llvm.git]
/
include
/
llvm
/
Support
/
thread.h
diff --git
a/include/llvm/Support/thread.h
b/include/llvm/Support/thread.h
index 2d1f1b3a3ec0efa2c7103be970a9ed6f6af66315..2d130418a57fd7b79dec5ecaccf5a25f83c56264 100644
(file)
--- a/
include/llvm/Support/thread.h
+++ b/
include/llvm/Support/thread.h
@@
-43,6
+43,8
@@
typedef std::thread thread;
#else // !LLVM_ENABLE_THREADS
+#include <utility>
+
namespace llvm {
struct thread {