Evan Cheng | 3 Jul 00:42
Picon
Favicon

Re: 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

Gmane