|
Boost : |
From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2004-02-09 19:53:55
David Abrahams wrote:
> Is everyone convinced that propagating the exception into the joining
> thread is the right behavior or even semantically sensible?
I'm not.
For me exceptions are conceptually associated with call stacks.
While I can see a generalization of this concept to be valid in environments
such as CORBA where a simulation of a synchronous call graph is provided,
I think the situation in multi-threaded environments is quite different.
If someone wants to use multi-threading and make it look as a single call
stack from the outside, he can always add translators that add exception
marshalling on a higher level. I don't think a low level generic threading
library should care about that.
Regards,
Stefan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk