Subject: Re: [boost] structured exceptions for UNIXs -- the hard way
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-09-21 10:29:03


AMDG

On 09/21/2011 07:14 AM, Peter Foelsche wrote:
>
> "Steven Watanabe" <watanabesj_at_[hidden]> wrote in message
> news:4E7906C4.9050601_at_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