1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-20 05:32:18 +03:00
Files
glibc/nptl/pthread_cond_broadcast.c
Yang Yingliang 8f630cca5c Fix lll_unlock twice in pthread_cond_broadcast
lll_unlock() will be called again if it goes to "wake_all" in
pthread_cond_broadcast(). This may make another thread which is
waiting for lock in pthread_cond_timedwait() unlock.  So there are
more than one threads get the lock, it will break the shared data.

It's introduced by commit 8313cb997d2d("FUTEX_*_REQUEUE_PI support for
non-x86 code")
2014-04-30 15:46:19 +05:30

2.9 KiB