Boost logo

Boost :

Subject: Re: [boost] [Thread] Win32 exception handling
From: Emil Dotchevski (emil_at_[hidden])
Date: 2008-11-25 16:41:13


On Tue, Nov 25, 2008 at 1:11 PM, David Abrahams <dave_at_[hidden]> wrote:
> It is necessary for conformance in many popular implementations because
> they have no other way to ensure a call to terminate().

Ah I get it! You mean, popular implementations of thread
functionality, not the compiler itself. :)

>> To me that's like having an automatic catch(...) in main(). This
>> doesn't mean that it's always a bad idea, only that the decision to
>> use catch(...) is outside of the scope of boost::thread.
>
> Not if Boost.Thread is trying to conform to the CD.

I'm not sure it should be trying to do that. I'd rather have it
fallback to what the implementation happens to do in this situation;
after all, that behavior is implementation- and os-specific and should
make sense.

Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk