
21 Sep
2011
21 Sep
'11
2:29 p.m.
AMDG On 09/21/2011 07:14 AM, Peter Foelsche wrote:
"Steven Watanabe" <watanabesj@gmail.com> wrote in message news:4E7906C4.9050601@providere-consulting.com...
I didn't think longjmp was async signal safe.
from what I've read it is only not safe to be callled from a nested signal handler -- means a signal handler called from another signalhandler.
But, std::vector<jmp_buf> is not volatile sig_atomic_t, so the value of s_sStack is unspecified inside the signal handler according to 1.9 p9. In Christ, Steven Watanabe