(__pthread_lock): Fix spurious wakeup
authordrepper <drepper>
Thu, 29 Aug 2002 10:32:19 +0000 (10:32 +0000)
committerdrepper <drepper>
Thu, 29 Aug 2002 10:32:19 +0000 (10:32 +0000)
commit76e492dc2d1184a750ba761b89b37e138b07d802
tree5982342076bedd12ba7e3c28322ca6b277a19dfa
parent89e77ded828eebd3efd4ba9cc350163d9b88b647
(__pthread_lock): Fix spurious wakeup
handling.  Don't clear lowest bit of list pointer as sign the thread
is still on the wait list.  Don't restart after spurious wakeup
with spinning to get the lock.
(__pthread_unlock): Take set lowest bit into account when handling
pointer to list elements.
linuxthreads/spinlock.c