LLVM  mainline
Functions
Threading
LLVM-C: C interface to LLVM

Handle the structures needed to make LLVM safe for multithreading. More...

Collaboration diagram for Threading:

Functions

LLVMBool LLVMStartMultithreaded (void)
 Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS.
void LLVMStopMultithreaded (void)
 Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS.
LLVMBool LLVMIsMultithreaded (void)
 Check whether LLVM is executing in thread-safe mode or not.

Detailed Description

Handle the structures needed to make LLVM safe for multithreading.


Function Documentation

Check whether LLVM is executing in thread-safe mode or not.

See also:
llvm::llvm_is_multithreaded

Definition at line 2950 of file Core.cpp.

References llvm::llvm_is_multithreaded().

Referenced by LLVMStartMultithreaded().

Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS.

This function always returns LLVMIsMultithreaded().

Definition at line 2943 of file Core.cpp.

References LLVMIsMultithreaded().

void LLVMStopMultithreaded ( void  )

Deprecated: Multi-threading can only be enabled/disabled with the compile time define LLVM_ENABLE_THREADS.

Definition at line 2947 of file Core.cpp.