summaryrefslogtreecommitdiff
path: root/libpthread/pthread
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-27 18:39:25 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-11-27 18:39:25 +0100
commitcb8b53b9961543d9069284eedbe89abfc1d7713b (patch)
tree90c00c97726f891578e7ae3ac1d6744a1fdf88f5 /libpthread/pthread
parenta1a10da44a300bc501582db93280f257b2f87386 (diff)
Fix __mutex_unlock_solid safety
libc releases the spinlock before calling __mutex_unlock_solid, so we have to try to reacquire it before possibly giving it to some blocked thread. * pthread/cthreads-compat.c (__mutex_unlock_solid): Call __pthread_spin_trylock before calling __pthread_mutex_unlock.
Diffstat (limited to 'libpthread/pthread')
0 files changed, 0 insertions, 0 deletions