change sem_trywait algorithm so it never has to call __wake
authorRich Felker <dalias@aerifal.cx>
Thu, 14 Apr 2011 19:10:50 +0000 (15:10 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 14 Apr 2011 19:10:50 +0000 (15:10 -0400)
commite983aea0aec4b77cd3eb39dabc763b08c4485395
treea291b943275026537da847cbb0bbe9f927f03df2
parentec2e50d0d78fb19c4a0b6f3e1d394408860425b4
change sem_trywait algorithm so it never has to call __wake
src/thread/sem_trywait.c