summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
committerZachary Turner <zturner@google.com>2014-06-19 18:18:23 +0000
commit9c9710eaf4c1f01b8b518bdba89aba059ab14175 (patch)
tree62137c6de6dbe0a54e3f8d6aa80d8392b51ad5c7 /llvm/include/llvm-c
parent778268df57bd65ba7befa2229a91e2ae56d07b3a (diff)
downloadbcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.tar.gz
bcm5719-llvm-9c9710eaf4c1f01b8b518bdba89aba059ab14175.zip
Remove support for LLVM runtime multi-threading.
After a number of previous small iterations, the functions llvm_start_multithreaded() and llvm_stop_multithreaded() have been reduced essentially to no-ops. This change removes them entirely. Reviewed by: rnk, dblaikie Differential Revision: http://reviews.llvm.org/D4216 llvm-svn: 211287
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 0e78ed71fa9..8693a3020ab 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -2848,16 +2848,13 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM);
* @{
*/
-/** Allocate and initialize structures needed to make LLVM safe for
- multithreading. The return value indicates whether multithreaded
- initialization succeeded. Must be executed in isolation from all
- other LLVM api calls.
- @see llvm::llvm_start_multithreaded */
+/** Deprecated: Multi-threading can only be enabled/disabled with the compile
+ time define LLVM_ENABLE_THREADS. This function always returns
+ LLVMIsMultithreaded(). */
LLVMBool LLVMStartMultithreaded(void);
-/** Deallocate structures necessary to make LLVM safe for multithreading.
- Must be executed in isolation from all other LLVM api calls.
- @see llvm::llvm_stop_multithreaded */
+/** Deprecated: Multi-threading can only be enabled/disabled with the compile
+ time define LLVM_ENABLE_THREADS. */
void LLVMStopMultithreaded(void);
/** Check whether LLVM is executing in thread-safe mode or not.
OpenPOWER on IntegriCloud