$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] structured exceptions for UNIXs -- the hard way
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-09-20 17:33:56
AMDG
On 09/20/2011 02:04 PM, Peter Foelsche wrote:
>
> static std::vector<jmp_buf> s_sStack;
>
> static void signalHandler(void)
> { if (s_sStack.size())
> { jmp_buf s = s_sStack.back();
> s_sStack.pop_back();
> longjmp(s);
> }
> }
>
I didn't think longjmp was async signal safe.
In Christ,
Steven Watanabe