|
Boost : |
From: Victor A. Wagner, Jr. (vawjr_at_[hidden])
Date: 2002-08-13 16:31:44
At Tuesday 2002/08/13 13:04, you wrote:
>From: "Victor A. Wagner, Jr." <vawjr_at_[hidden]>
>
>
> > At Tuesday 2002/08/13 10:34, you wrote:
> >
> > >
> > >2) is viable; 1) is not. The referenced exception object is destroyed
>when
> > >the catch block exits.
> >
> > I believe you are mistaken in your comment regarding 1). Or have I
> > misunderstood what
> > throw;
> > does inside a catch block?
>
>Aren't we talking about propagating exceptions across thread boundaries?
we are
>If so, eventually the thread has to have a catch block that ends without
>"throw;" or the process will almost certainly terminate.
agreed
>Aren't we talking about storing a copy of the exception object somewhere so
>it can be rethrown in another thread?
we are
>If not, how do you propose to make it work?
>
>-Dave
>
>-----------------------------------------------------------
> David Abrahams * Boost Consulting
>dave_at_[hidden] * http://www.boost-consulting.com
Victor A. Wagner Jr. http://rudbek.com
PGP RSA fingerprint = 4D20 EBF6 0101 B069 3817 8DBF C846 E47A
PGP D-H fingerprint = 98BC 65E3 1A19 43EC 3908 65B9 F755 E6F4 63BB 9D93
The five most dangerous words in the English language:
"There oughta be a law"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk