<div dir="ltr"><div>never mind this, people<br></div>this was in haste<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 15, 2017 at 9:49 AM, Milind Changire <span dir="ltr">&lt;<a href="mailto:mchangir@redhat.com" target="_blank">mchangir@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">in __synclock_lock ( ) there&#39;s a pthread_cond_wait (&amp;lock-&gt;cond, &amp;lock-&gt;guard); near the end of the function ...<br><br>shouldn&#39;t the return value of pthread_cond_wait (...) be checked in a while loop to test for spurious wake-ups and also test the logical state that the lock variable to be in to hold ?<span class="HOEnZb"><font color="#888888"><br clear="all"><br>-- <br><div class="m_1173862859281618880gmail_signature"><div dir="ltr"><div><div dir="ltr">Milind<br><br></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Milind<br><br></div></div></div></div>
</div>