<div class="gmail_quote">On Thu, Apr 19, 2012 at 5:16 PM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div id=":1tm">When auditing some of the code, I noticed that the WITH-LOCK macro<br>
still uses owner/count and has the race condition warning comment, is<br>
this something that can now be solved completely with the new locking<br>
implementation?<br></div></blockquote></div><br>Yes, sorry for that: the warning is now irrelevant because the owner and count values are now reliable. What happened before is that since there could be an interrupt inside or right after pthread_mutex_lock(), it was not sure whether ECL would be able to update the owner and counter values.<div>

<br></div><div>Juanjo<br clear="all"><div><br></div>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>


</div>