[LLVMdev] JIT function insertion/creation in multithreaded setting

Carter Cheng carter_cheng at yahoo.com
Wed Jul 1 02:23:29 PDT 2009


I have been looking at the possibility of writing a multithreaded server with the LLVM JIT acting as a key part of the runtime system. In this kind of setting it may entirely be possible for the compiler to be active on to separate threads. I am curious in this sort of situation which entities I would have to protect with a mutex. Is it just certain functions in the Module class?

Thanks in advance.


      



More information about the llvm-dev mailing list