Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-13 15:04:04


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?

If so, eventually the thread has to have a catch block that ends without
"throw;" or the process will almost certainly terminate.

Aren't we talking about storing a copy of the exception object somewhere so
it can be rethrown in another thread?

If not, how do you propose to make it work?

-Dave

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


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