musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/signal.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015年03月16日 20:12:49 -0400
committerRich Felker <dalias@aerifal.cx>2015年03月16日 20:12:49 -0400
commit76fd01177a32d602bc5ee7bd7ba65316adbae611 (patch)
treed855b8e220d5ade11a8ef96f82f95f5820c56b1a /include/signal.h
parenteceaf1d29f32656e5befb5e37b1f7db632f2e1dc (diff)
downloadmusl-76fd01177a32d602bc5ee7bd7ba65316adbae611.tar.gz
block all signals (even internal ones) in cancellation signal handler
previously the implementation-internal signal used for multithreaded set*id operations was left unblocked during handling of the cancellation signal. however, on some archs, signal contexts are huge (up to 5k) and the possibility of nested signal handlers drastically increases the minimum stack requirement. since the cancellation signal handler will do its job and return in bounded time before possibly passing execution to application code, there is no need to allow other signals to interrupt it.
Diffstat (limited to 'include/signal.h')
0 files changed, 0 insertions, 0 deletions
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月05日 16:55:59 +0000

AltStyle によって変換されたページ (->オリジナル) /