Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-01-17 09:44:34


----- Original Message -----
From: "terekhov" <terekhov_at_[hidden]>

> --- In boost_at_y..., "Peter Dimov" <pdimov_at_m...> wrote:
> [...]
> > During stack unwinding, stopping the cancel exception is mandatory,
> > otherwise the whole process is going to die. For example a C++
> exception may
> > be on its way up when someone cancels the thread.
>
> But that is N6, unless I am missing something:
>
> ">6) Ensure cancellation points don't throw when uncaught_exception()
> >returns true."

Note: uncaught_exception returns false in catch blocks, but catch blocks
normally contain the same sort of code as destructors (this is why Herb
doesn't like it).

-Dave


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