Boost logo

Boost :

Subject: Re: [boost] [Thread] Win32 exception handling
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-11-25 15:18:39


----- Original Message -----
From: "Matt Gruenke" <mgruenke_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Tuesday, November 25, 2008 8:01 PM
Subject: Re: [boost] [Thread] Win32 exception handling

>
> Some compilers (certainly GCC) have the ability to preserve the
> stackframe from the time it was thrown (!), for uncaught exceptions. If
> you catch (...), then the destructors of all the locals will execute and
> you'll lose some information that could be instrumental in tracking down
> the cause of the exception.
>
> For that reason, among others, it's good to avoid the catch/rethrow
> construct.
>
>
> The catch (...) is one of the reasons we don't use boost::thread. I
> even filed a bug on it:
>
>
> http://sourceforge.net/tracker/index.php?func=detail&aid=1274707&group_id=7586&atid=357586
 
When I try to open this page anerror apears. Can you post the ticket?

Thanks,
Vicente


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