[boost] Re: boost::execution_monitor impl under windows
by Carl Daniel other posts by this author
Sep 22 2003 2:14AM messages near this date
[boost] Re: boost::execution_monitor impl under windows
|
RE: [boost] Re: Re: boost::execution_monitor impl under windows
David Abrahams wrote:
> "carlos pizano" <carlospizano@[...].com> writes:
>
> >> FWIW, when David pointed me to his article (thanks again David)
> >> I came to same the same conclusion myself (that is, that /EHa
> >> is _not_ required for this technique).
> >
> > a) What article?
>
> The very link I quoted in my first reply to you. Once again:
> http://www.boost.org/more/error_handling.html. Did you read it?
Yes, David is quite correct (as usual) - the technique described in this
article does not rely on /EHa. Whether the compiler does or does not
optimize out any exception frames is not relevant: the outcome is the same
either way. If there are no exception frames (or all frames were optimized
out), then the SEH exception frame that surrounds main() of all VC++
programs will catch the exception and invoke the system debugger. If a C++
exception frame ever "sees" the SEH, the throw from within the translator
will also result in an invocation of the system debugger (or, more
correctly, call to to UnhandleExceptionFilter, which, in turn, invokes the
system debugger).
For details on exactly how exception handling works under Visual C++ and
Win32, see this article by Matt Pietrek.
http://www.microsoft.com/msj/0197/exception/exception.aspx
-cd
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
carlos pizano
David Abrahams
David Abrahams
Holger Grund
Holger Grund
Holger Grund
Holger Grund
David Abrahams
Carl Daniel
carlos pizano
carlos pizano
David Abrahams
carlos pizano
carlos pizano
carlos pizano
Carl Daniel
Carl Daniel
carlos pizano
|