| To: | yyyyyyyyyyyyyy@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: XSH/XRAT conflict over cancellation points |
| From: | Henry Spencer <yyyyy@xxxxxxxxxxxxx> |
| Date: | Fri, 21 May 2004 15:28:22 -0400 (EDT) |
On Fri, 21 May 2004, Alexander Terekhov wrote:
> > you're free to implement setjmp() in a way that will allow
> > you to use it for exception handling.
>
> That's upside down. C compiler shall translate setjmp() macro
> to some magic C++ try/catch thing and longjmp() to a rather
> simple C+ throw.
Very few C compilers work by translating C to C++.
Even the compilers which compile both C and C++ don't necessarily compile
setjmp/longjmp to the same code as try/catch/throw.
Henry Spencer
yyyyy@xxxxxxxxxxxxx
|
| Previous by Date: | Re: XSH/XRAT conflict over cancellation points, Alexander Terekhov |
|---|---|
| Next by Date: | Re: XSH/XRAT conflict over cancellation points, Wojtek Lerch |
| Previous by Thread: | Re: XSH/XRAT conflict over cancellation points, Alexander Terekhov |
| Next by Thread: | Re: XSH/XRAT conflict over cancellation points, Alexander Terekhov |
| Indexes: | [Date] [Thread] [All Lists] |