mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 22:30:12 +00:00
0e3b5d6a68
[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. |
||
---|---|---|
.. | ||
linux |