Boost logo

Boost :

From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-08-12 16:42:55


[Un?]fortunatly, as far as I know, the end user is required to specifiy the
exceptions they would like propagated.

----- Original Message -----
From: Mitch Adler
Newsgroups: gmane.comp.lib.boost.devel
Sent: Monday, 2002:August:12 5:22 PM
Subject: Re: Attempting resolution of Threads & Exceptions Issue

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, problem.

Just copying an exception so it will survive, typed correctly, the exit
of a catch clause seems daunting.

What mechanisms does boost.threads rely on/require such that this works
portably?

[I have skipped parts of the threads/exceptions discussion, so please
point me at the relavent postings if I've missed the discussion of this
issue]

Mitch

--
Mitch Adler            "Could you please continue the petty
Apple Computer, Inc.    bickering. I find it most intriguing."
Mitch_at_[hidden]                    - Data
MAdler_at_[hidden]
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

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