$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2006-07-06 13:35:39
"Peter Dimov" <pdimov_at_[hidden]> writes:
> Pedro Lamarão wrote:
>
>> Shouldn't there be some sentry object then, with that
>> "on_thread_exit()" thing called by the destructor?
>
> If you allow an exception to escape from your thread function, the default
> behavior is for the runtime to call terminate(), so a missing on_thread_exit
> is the least of your worries. :-)
Well, let's not forget that terminate() is a form of orderly shutdown.
-- Dave Abrahams Boost Consulting www.boost-consulting.com