<div dir="ltr">in __synclock_lock ( ) there's a pthread_cond_wait (&lock->cond, &lock->guard); near the end of the function ...<br><br>shouldn'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 ?<br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Milind<br><br></div></div></div></div>
</div>