LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
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

LLVMBool LLVMIsMultithreaded ( void  )

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

See Also
llvm::llvm_is_multithreaded

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.

See Also
llvm::llvm_start_multithreaded

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.

See Also
llvm::llvm_stop_multithreaded

Definition at line 2622 of file Core.cpp.

References llvm::llvm_stop_multithreaded().