aboutsummaryrefslogtreecommitdiff
path: root/nptl/tst-cond24.c
AgeCommit message (Collapse)AuthorFilesLines
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-11-06Bump timeouts on some new nptl tests to support tilepro.Chris Metcalf1-1/+1
2012-10-05Unlock mutex before going back to waiting for PI mutexesSiddhesh Poyarekar1-0/+249
[BZ #14417] A futex call with FUTEX_WAIT_REQUEUE_PI returns with the mutex locked on success. If such a successful thread is pipped to the cond_lock by another spuriously woken waiter, it could be sent back to wait on the futex with the mutex lock held, thus causing a deadlock. So it is necessary that the thread relinquishes the mutex before going back to sleep.