projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[X86][Haswell][SchedModel] Add architecture specific scheduling models.
[oota-llvm.git]
/
lib
/
Support
/
Threading.cpp
diff --git
a/lib/Support/Threading.cpp
b/lib/Support/Threading.cpp
index c9f0f2c2e5a20493bbb97a927172971c6bac9d43..ca7f3f64aa37e37f3b7acbb815d0cba3b99bf4ff 100644
(file)
--- a/
lib/Support/Threading.cpp
+++ b/
lib/Support/Threading.cpp
@@
-7,7
+7,8
@@
//
//===----------------------------------------------------------------------===//
//
//
//===----------------------------------------------------------------------===//
//
-// This file implements llvm_start_multithreaded() and friends.
+// This file defines helper functions for running LLVM in a multi-threaded
+// environment.
//
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
@@
-19,11
+20,6
@@
using namespace llvm;
using namespace llvm;
-llvm::recursive_mutex& llvm::llvm_get_global_lock() {
- static llvm::recursive_mutex global_lock;
- return global_lock;
-}
-
bool llvm::llvm_is_multithreaded() {
#if LLVM_ENABLE_THREADS != 0
return true;
bool llvm::llvm_is_multithreaded() {
#if LLVM_ENABLE_THREADS != 0
return true;