diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-03 10:55:09 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-11-15 15:45:39 -0200 |
commit | ad4f43a2344864ae2304060dcc722a7a63bad1b4 (patch) | |
tree | 3de70e9c5d60927f0eedbd7179773f8d379812bf /ChangeLog | |
parent | d0212d429da889345978546f215ce62a5f0e007a (diff) | |
download | glibc-ad4f43a2344864ae2304060dcc722a7a63bad1b4.tar glibc-ad4f43a2344864ae2304060dcc722a7a63bad1b4.tar.gz glibc-ad4f43a2344864ae2304060dcc722a7a63bad1b4.tar.bz2 glibc-ad4f43a2344864ae2304060dcc722a7a63bad1b4.zip |
Cleanup sigpause implementation
This patch simplify sigpause by remobing the single thread optimization
since it will be handled already by the __sigsuspend call.
Checked on x86_64-linux-gnu.
* sysdeps/posix/sigpause.c (do_sigpause): Remove.
(__sigpause): Rely on __sigsuspend to implement single thread
optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
Signed-off-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Zack Weinberg <zackw@panix.com>
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org> + + * sysdeps/posix/sigpause.c (do_sigpause): Remove. + (__sigpause): Rely on __sigsuspend to implement single thread + optimization. Add LIBC_CANCEL_HANDLED for cancellation marking. + 2017-11-15 Joseph Myers <joseph@codesourcery.com> * scripts/build-many-glibcs.py (Context.checkout): Default Linux |