|
Boost : |
From: Darryl Green (green_at_[hidden])
Date: 2002-08-27 00:39:04
> From: Eric Woodruff [mailto:Eric.Woodruff_at_[hidden]]
>
> What is the purpose of that "handler"?
To ensure that the stack *is* unwound and the thread terminates (but not, or
not always, the process).
> When would it do its handling?
When there is an uncaught exception in a thread - that was what was being
discussed (I thought)?
> The purpose of an exception is to terminate with stack unwinding and a
meaningful object that represents why.
Terminate what? An operation that encounters an error - yes.
> Are you looking for a non-exception based alternative to kill
> a thread with?
No.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk