summaryrefslogtreecommitdiff
path: root/src/thread/__wait.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-08-02 21:18:43 -0400
committerRich Felker <dalias@aerifal.cx>2011-08-02 21:18:43 -0400
commit4717bfec708d264111f70f37850ffc09238c4bd5 (patch)
tree25c24672e32621ae50ac5e569031f37c4b8c7cb0 /src/thread/__wait.c
parentbdd893377fe65519fae90948cd8f3c635757eaba (diff)
downloadmusl-4717bfec708d264111f70f37850ffc09238c4bd5.tar.gz
correctly handle old kernels without FUTEX_WAIT_BITSET
futex returns EINVAL, not ENOSYS, when op is not supported. unfortunately this looks just like EINVAL from other causes, and we end up running the fallback code and getting EINVAL again. fortunately this case should be rare since correct code should not generate EINVAL anyway.
Diffstat (limited to 'src/thread/__wait.c')
0 files changed, 0 insertions, 0 deletions