Boost logo

Boost :

From: Alexander Terekhov (terekhov_at_[hidden])
Date: 2004-02-10 10:41:04


Peter Dimov wrote:
[...]
> One case where "propagating" exceptions is wrong is when the thread is not
> supposed to be joined.

When the thread is not supposed to be joined, then all expected
exceptions [e.g. thread cancelation or exit] should be caught
(but "ignored") and all unexpected exceptions should still
terminate the entire process at throw point (that's not the way
how exception specification work currently). Some exceptions
listed in this or that throw spec may be expected and some not.
(Perfect forwarding might help somewhat here. ;-) )

regards,
alexander.


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