信号手有一个单独的堆栈吗?

问题描述:

信号处理程序是否有单独的堆栈,(如每个线程都有单独的堆栈)?信号手有一个单独的堆栈吗?

这是在Linux/C上下文中。

+1

的可能重复的[信号堆栈](http://stackoverflow.com/questions/841546/signal-stack) –

在Linux手册页signal(7)

By default, the signal handler is invoked on the normal process stack. 
It is possible to arrange that the signal handler uses an alternate stack; 
see sigaltstack(2) for a discussion of how to do this and when it might 
be useful.