llvm-general-3.4.4.0: General purpose LLVM bindings

Safe HaskellNone

LLVM.General.Threading

Description

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

Synopsis

Documentation

setMultithreaded :: Bool -> IO ()

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

isMultithreaded :: IO Bool

Check if multithreading is enabled in LLVM