LLVM 20.0.0git
Functions

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

◆ LLVMIsMultithreaded()

LLVMBool LLVMIsMultithreaded ( void  )

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

See also
llvm::llvm_is_multithreaded

Definition at line 4556 of file Core.cpp.

References llvm::llvm_is_multithreaded().

Referenced by LLVMStartMultithreaded().

◆ LLVMStartMultithreaded()

LLVMBool LLVMStartMultithreaded ( void  )

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

This function always returns LLVMIsMultithreaded().

Definition at line 4549 of file Core.cpp.

References LLVMIsMultithreaded().

◆ LLVMStopMultithreaded()

void LLVMStopMultithreaded ( void  )

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

Definition at line 4553 of file Core.cpp.