diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-08-02 21:18:43 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-08-02 21:18:43 -0400 |
commit | 4717bfec708d264111f70f37850ffc09238c4bd5 (patch) | |
tree | 25c24672e32621ae50ac5e569031f37c4b8c7cb0 /src/thread/pthread_barrierattr_setpshared.c | |
parent | bdd893377fe65519fae90948cd8f3c635757eaba (diff) | |
download | musl-4717bfec708d264111f70f37850ffc09238c4bd5.tar.gz musl-4717bfec708d264111f70f37850ffc09238c4bd5.tar.xz musl-4717bfec708d264111f70f37850ffc09238c4bd5.zip |
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/pthread_barrierattr_setpshared.c')
0 files changed, 0 insertions, 0 deletions