mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 16:24:23 +00:00
Revert r211287, "Remove support for LLVM runtime multi-threading."
libclang still requires it on cygming, lack of incomplete <mutex>. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -2848,13 +2848,16 @@ void LLVMDisposePassManager(LLVMPassManagerRef PM);
|
||||
* @{
|
||||
*/
|
||||
|
||||
/** Deprecated: Multi-threading can only be enabled/disabled with the compile
|
||||
time define LLVM_ENABLE_THREADS. This function always returns
|
||||
LLVMIsMultithreaded(). */
|
||||
/** 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 */
|
||||
LLVMBool LLVMStartMultithreaded(void);
|
||||
|
||||
/** Deprecated: Multi-threading can only be enabled/disabled with the compile
|
||||
time define LLVM_ENABLE_THREADS. */
|
||||
/** 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 */
|
||||
void LLVMStopMultithreaded(void);
|
||||
|
||||
/** Check whether LLVM is executing in thread-safe mode or not.
|
||||
|
Reference in New Issue
Block a user