fix deadlock in condition wait whenever there are multiple waiters
authorRich Felker <dalias@aerifal.cx>
Fri, 23 Sep 2011 01:08:55 +0000 (21:08 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 23 Sep 2011 01:08:55 +0000 (21:08 -0400)
commit4b153ac42428447a148e6da543ebe6df017078db
treed9a5b8035f98b8cec47fc6044e38305ea5cdb91a
parent2eff02e4a032323a45541c79967638d8c77d79e4
fix deadlock in condition wait whenever there are multiple waiters

it's amazing none of the conformance tests i've run even bothered to
check whether something so basic works...
src/internal/pthread_impl.h
src/thread/pthread_cond_broadcast.c
src/thread/pthread_cond_signal.c
src/thread/pthread_cond_timedwait.c