[LLVMdev] JIT function insertion/creation in multithreaded setting

Evan Cheng evan.cheng at apple.com
Thu Jul 2 15:42:19 PDT 2009


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




More information about the llvm-dev mailing list