diff options
author | Zachary Turner <zturner@google.com> | 2014-06-19 16:17:42 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2014-06-19 16:17:42 +0000 |
commit | 761f33167f2ae180dddcf48abcfcc3ead0c2d219 (patch) | |
tree | 0a1f726d67d862f9751d257a1490b5d4c9097784 /include/llvm/Support/Threading.h | |
parent | 591f9ee07680fb678e4510c94ff65b0d0a48d224 (diff) | |
download | llvm-761f33167f2ae180dddcf48abcfcc3ead0c2d219.tar.gz llvm-761f33167f2ae180dddcf48abcfcc3ead0c2d219.tar.bz2 llvm-761f33167f2ae180dddcf48abcfcc3ead0c2d219.tar.xz |
Kill the LLVM global lock.
This patch removes the LLVM global lock, and updates all existing
users of the global lock to use their own mutex. None of the
existing users of the global lock were protecting code that was
mutually exclusive with any of the other users of the global
lock, so its purpose was not being met.
Reviewed by: rnk
Differential Revision: http://reviews.llvm.org/D4142
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211277 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/Threading.h')
-rw-r--r-- | include/llvm/Support/Threading.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/llvm/Support/Threading.h b/include/llvm/Support/Threading.h index a7e8774558..d84d118679 100644 --- a/include/llvm/Support/Threading.h +++ b/include/llvm/Support/Threading.h @@ -33,14 +33,6 @@ namespace llvm { /// mode or not. bool llvm_is_multithreaded(); - /// acquire_global_lock - Acquire the global lock. This is a no-op if called - /// before llvm_start_multithreaded(). - void llvm_acquire_global_lock(); - - /// release_global_lock - Release the global lock. This is a no-op if called - /// before llvm_start_multithreaded(). - void llvm_release_global_lock(); - /// llvm_execute_on_thread - Execute the given \p UserFn on a separate /// thread, passing it the provided \p UserData. /// |