<div class="gmail_quote">On Fri, May 25, 2012 at 2:31 AM, Salvatore Sanfilippo <span dir="ltr"><<a href="mailto:antirez@gmail.com" target="_blank">antirez@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Apparently just before forking() jemalloc should do something to make<br>
sure that no lock is hold.<br></blockquote></div><br>Firefox's fork of jemalloc has code to do this. See <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=460933#c30">https://bugzilla.mozilla.org/show_bug.cgi?id=460933#c30</a> and other comments in that bug.<br>
<br>- Kyle<br>