LLVM API Documentation
![]() |
Functions | |
LLVMBool | LLVMStartMultithreaded (void) |
void | LLVMStopMultithreaded (void) |
LLVMBool | LLVMIsMultithreaded (void) |
Handle the structures needed to make LLVM safe for multithreading.
LLVMBool LLVMIsMultithreaded | ( | void | ) |
Check whether LLVM is executing in thread-safe mode or not.
Definition at line 2626 of file Core.cpp.
References llvm::llvm_is_multithreaded().
LLVMBool LLVMStartMultithreaded | ( | void | ) |
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.
Definition at line 2618 of file Core.cpp.
References llvm::llvm_start_multithreaded().
void LLVMStopMultithreaded | ( | void | ) |
Deallocate structures necessary to make LLVM safe for multithreading. Must be executed in isolation from all other LLVM api calls.
Definition at line 2622 of file Core.cpp.
References llvm::llvm_stop_multithreaded().