improve/debloat mutex unlock error checking in pthread_cond_wait
authorRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 22:22:31 +0000 (18:22 -0400)
committerRich Felker <dalias@aerifal.cx>
Tue, 27 Sep 2011 22:22:31 +0000 (18:22 -0400)
commitbc244533ccd72a0ad075571e338a6af35cc162f5
tree17ab555296e9fd6f9c420545f08d04e1ec598b97
parentbfae1a8b713305ec3e65c7d6abd7ad64d5df6363
improve/debloat mutex unlock error checking in pthread_cond_wait

we're not required to check this except for error-checking mutexes,
but it doesn't hurt. the new test is actually simpler/lighter, and it
also eliminates the need to later check that pthread_mutex_unlock
succeeds.
src/thread/pthread_cond_timedwait.c