about summary refs log tree commit diff
path: root/nptl/tst-cond25.c
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-021-1/+1
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-011-1/+1
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Fix compiler warnings in some NPTL tests.Roland McGrath2012-10-251-11/+14
|
* Don't check error return for pthread_cancel in tst-cond25Siddhesh Poyarekar2012-10-171-5/+1
|
* Take lock in pthread_cond_wait cleanup handler only when neededSiddhesh Poyarekar2012-10-101-0/+282
[BZ #14652] When a thread waiting in pthread_cond_wait with a PI mutex is cancelled after it has returned successfully from the futex syscall but just before async cancellation is disabled, it enters its cancellation handler with the mutex held and simply calling a mutex_lock again will result in a deadlock. Hence, it is necessary to see if the thread owns the lock and try to lock it only if it doesn't.