LLVM API Documentation

Functions
Threading
LLVM-C: C interface to LLVM
Collaboration diagram for Threading:

Functions

LLVMBool LLVMStartMultithreaded (void)
void LLVMStopMultithreaded (void)
LLVMBool LLVMIsMultithreaded (void)

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 2735 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 2728 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 2732 of file Core.cpp.