diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-22 00:33:48 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:41 +0200 |
commit | b72b0b14d0da0b506fbddf755cc8c7d0cd813287 (patch) | |
tree | 844a9b81562265974b81f3a21af413c07cd7f349 /libc/signal/sigblock.c | |
parent | 24edbbd53a382f35a4365ae065f61d56579f52f1 (diff) |
rework cancellation for sigwait, sigtimedwait and sigwaitinfo
sigtimedwait:
- provide __sigtimedwait_nocancel
- use __SYSCALL_SIGSET_T_SIZE instead of _NSIG / 8
- do not provide __sigtimedwait
- guard a section to avoid failure on archs if SI_TKILL/SI_USER are not defined
sigwaitinfo:
- simply use sigtimedwait since that handles cancellation already
sigwait:
- use non-cancellable functions (sigtimedwait, sigsuspend)
- get rid of code already done in __sigtimedwait_nocancel
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/signal/sigblock.c')
0 files changed, 0 insertions, 0 deletions