Carter Cheng
2009-Jul-01 09:23 UTC
[LLVMdev] JIT function insertion/creation in multithreaded setting
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.
Evan Cheng
2009-Jul-02 22:42 UTC
[LLVMdev] JIT function insertion/creation in multithreaded setting
I believe you have to protect the whole module (at least for now). Evan On Jul 1, 2009, at 2:23 AM, Carter Cheng wrote:> > 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. > > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Maybe Matching Threads
- [LLVMdev] Recommended pattern to use LLVM JIT in a multithreaded application
- [LLVMdev] IR code generation and JIT execution in a multithread environment
- [LLVMdev] LLVM JIT: How to install a callback for a function loaded in at runtime
- [LLVMdev] multithreaded applications
- [LLVMdev] multithreaded applications