<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">According to llvm.org/PR418, it should be. :-)<div><br class="webkit-block-placeholder"></div><div>--Owen</div><div><br><div><div>On Nov 1, 2007, at 9:59 PM, John Criswell wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Dear All,<br><br>Here's a question Vikram and I received.  Is the LLVM JIT thread safe?<br><br>-- John T.<br><br><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"Adve, Vikram Sadanand" <<a href="mailto:vadve@uiuc.edu">vadve@uiuc.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">November 1, 2007 9:48:59 AM CDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"Lenharth, Andrew David" <<a href="mailto:alenhar2@uiuc.edu">alenhar2@uiuc.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Cc: </b></span><span style="font-family:'Helvetica'; font-size:medium;">John Criswell <<a href="mailto:criswell@cs.uiuc.edu">criswell@cs.uiuc.edu</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 0.5);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Fwd: LLVM and threading</b><br></span></div><br><br>Do you guys know if the LLVM JIT is thread-safe?  Are there other<br>parts that are not?  Thanks,<br><br>--Vikram<br><a href="http://www.cs.uiuc.edu/~vadve">http://www.cs.uiuc.edu/~vadve</a><br>http://llvm.org<br><br><br>Begin forwarded message:<br><br><blockquote type="cite">From: Mark Oskin <oskin@cs.washington.edu><br></blockquote><blockquote type="cite">Date: November 1, 2007 8:57:45 AM CDT<br></blockquote><blockquote type="cite">To: Vikram Adve <vadve@cs.uiuc.edu><br></blockquote><blockquote type="cite">Subject: LLVM and threading<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Hi Vikram-<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I've been digging through the LLVM stuff but I can't quite find a<br></blockquote><blockquote type="cite">quick answer to this, so thought I'd ask.  Does LLVM support threads?<br></blockquote><blockquote type="cite">Has anyone done this already experimentally?  Would it work if I<br></blockquote><blockquote type="cite">didn't need the JIT, just targeted native x86?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">thanks!<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">-Mark Oskin<br></blockquote><blockquote type="cite"><br></blockquote><br><br><br>_______________________________________________<br>LLVM Developers mailing list<br>LLVMdev@cs.uiuc.edu         http://llvm.cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<br></blockquote></div><br></div></body></html>