Eric
2009-Feb-27 21:42 UTC
[LLVMdev] Recommended pattern to use LLVM JIT in a multithreaded application
Since my last question was a bit long, I'll keep this short: What is the "best practice" way to use LLVM JIT in a multithreaded application? I've noticed there can only be one JIT ExecutionEngine present in the application, and putting the engine in a singleton instance doesn't seem to work. Thanks, Eric Yew -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090227/d94f4e08/attachment.html>
Evan Cheng
2009-Mar-02 16:53 UTC
[LLVMdev] Recommended pattern to use LLVM JIT in a multithreaded application
I forgot the details. But I believe your application needs to manage the lock to the module provider. Evan On Feb 27, 2009, at 1:42 PM, Eric wrote:> Since my last question was a bit long, I'll keep this short: > > What is the "best practice" way to use LLVM JIT in a multithreaded > application? I've noticed there can only be one JIT ExecutionEngine > present in the application, and putting the engine in a singleton > instance doesn't seem to work. > > Thanks, > Eric Yew > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Possibly Parallel Threads
- [LLVMdev] LLVM JIT in multi-threaded environments
- What's wrong with this simple code???
- [LLVMdev] [RFC] Internal command line options should not be statically initialized.
- [LLVMdev] Jit singleton
- [LLVMdev] if llvm can translate and generate the function in parallel with multithread