//
//===----------------------------------------------------------------------===//
//
-// This file implements llvm_start_multithreaded() and friends.
+// This file defines helper functions for running LLVM in a multi-threaded
+// environment.
//
//===----------------------------------------------------------------------===//
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;