fix some semaphore wait semantics (race condition deadlock and error checking)
authorRich Felker <dalias@aerifal.cx>
Fri, 11 Mar 2011 02:52:18 +0000 (21:52 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 11 Mar 2011 02:52:18 +0000 (21:52 -0500)
commitcfe581b6bc795e3f00ac30791314ec0f9be4b4ad
treea9167b25647df5508a64e3b0b79b7582714c8e2e
parent81af503610761a69476a3adbe8341fa8b6d078aa
fix some semaphore wait semantics (race condition deadlock and error checking)
src/thread/sem_timedwait.c
src/thread/sem_trywait.c