llvm-general-3.4.4.1: General purpose LLVM bindings

Safe HaskellNone
LanguageHaskell98

LLVM.General.Threading

Description

functionality necessary when running LLVM in multiple threads at the same time.

Synopsis

Documentation

setMultithreaded :: Bool -> IO () Source

Set the multithreading mode of LLVM. If it is disabled (as by default) locks are not enforced.

isMultithreaded :: IO Bool Source

Check if multithreading is enabled in LLVM