$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-08-23 12:05:07
From: <duncan_at_[hidden]>
> When an exception other than thread_end (or derived) escapes from the
> thread procedure I would strongly prefer it to stop the whole program
> (process). This should be the default behaviour.
The problem with this approach is that resources will leak. When an
exception escapes from main() in the single-threaded case we know that the
stack has been unwound. When an exception escapes from a thread the other
threads' stacks will not be unwound, and the resources they've allocated
will leak.
-- Peter Dimov Multi Media Ltd.