summaryrefslogtreecommitdiffstats
path: root/llvm/docs/ProgrammersManual.rst
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-19 16:17:42 +0000
committerZachary Turner <zturner@google.com>2014-06-19 16:17:42 +0000
commit6ad2444d5bfdeeb75b7cbeb672fc73fce342ec6b (patch)
tree7e6feeaa1722d230e363647e9852f688e7eae0df /llvm/docs/ProgrammersManual.rst
parentc8e3b5f8490d5f196940835100b39a07c79344c4 (diff)
downloadbcm5719-llvm-6ad2444d5bfdeeb75b7cbeb672fc73fce342ec6b.tar.gz
bcm5719-llvm-6ad2444d5bfdeeb75b7cbeb672fc73fce342ec6b.zip
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 llvm-svn: 211277
Diffstat (limited to 'llvm/docs/ProgrammersManual.rst')
-rw-r--r--llvm/docs/ProgrammersManual.rst5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 4973e5c6671..df3795a34d3 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -2226,11 +2226,6 @@ Note that, because no other threads are allowed to issue LLVM API calls before
``llvm_start_multithreaded()`` returns, it is possible to have
``ManagedStatic``\ s of ``llvm::sys::Mutex``\ s.
-The ``llvm_acquire_global_lock()`` and ``llvm_release_global_lock`` APIs provide
-access to the global lock used to implement the double-checked locking for lazy
-initialization. These should only be used internally to LLVM, and only if you
-know what you're doing!
-
.. _llvmcontext:
Achieving Isolation with ``LLVMContext``
OpenPOWER on IntegriCloud