From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-08-13 08:38:30
From: "David Abrahams" <dave_at_[hidden]>
> From: "Victor A. Wagner, Jr." <vawjr_at_[hidden]>
> > At Monday 2002/08/12 14:22, you wrote:
> > >Dale wrote:
> > >
> > > >1) thread<void> threads call terminate(), thread<XXX> threads
> propogate the
> > > >exception when join is called.
> > >
> > >Propogating an exception in an different thread context than it started
> > >in (different stack, specifically) is a hard, if not impossible,
> > it seems trivial to me, providing that you can accurately asses what the
> > exception is!
> Aye, there's the rub. You can't "accurately asses what the exception is",
> since EH will catch base classes and in general there's no way to recover
> the most-derived class, even when catching by [const] reference.
... without compiler support or without help from the exception itself.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk