fix fallback checks for kernels without private futex support
authorRich Felker <dalias@aerifal.cx>
Sat, 23 Aug 2014 03:49:54 +0000 (23:49 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 23 Aug 2014 03:49:54 +0000 (23:49 -0400)
commitb8ca9eb5301580dcf101753451eee196edceefbd
tree9602bfb40fbb328360bd024d2e416824cea63337
parenta6293285e930dbdb0eff47e29b513ca22537b1a2
fix fallback checks for kernels without private futex support

for unknown syscall commands, the kernel produces ENOSYS, not EINVAL.
src/internal/pthread_impl.h
src/thread/__timedwait.c
src/thread/__wait.c
src/thread/pthread_barrier_wait.c
src/thread/pthread_cond_timedwait.c