Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57381 - branches/release/libs/thread/doc
From: anthony_at_[hidden]
Date: 2009-11-04 16:48:19


Author: anthonyw
Date: 2009-11-04 16:48:18 EST (Wed, 04 Nov 2009)
New Revision: 57381
URL: http://svn.boost.org/trac/boost/changeset/57381

Log:
Merged documentation changes to boost.thread (re at_thread_exit) from trunk
Properties modified:
   branches/release/libs/thread/doc/ (props changed)
Text files modified:
   branches/release/libs/thread/doc/thread_ref.qbk | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: branches/release/libs/thread/doc/thread_ref.qbk
==============================================================================
--- branches/release/libs/thread/doc/thread_ref.qbk (original)
+++ branches/release/libs/thread/doc/thread_ref.qbk 2009-11-04 16:48:18 EST (Wed, 04 Nov 2009)
@@ -916,6 +916,13 @@
 [[Throws:] [`std::bad_alloc` if memory cannot be allocated for the copy of the function, __thread_resource_error__ if any other
 error occurs within the thread library. Any exception thrown whilst copying `func` into internal storage.]]
 
+[[Note:] [This function is *not* called if the thread was terminated
+forcefully using platform-specific APIs, or if the thread is
+terminated due to a call to `exit()`, `abort()` or
+`std::terminate()`. In particular, returning from `main()` is
+equivalent to call to `exit()`, so will not call any functions
+registered with `at_thread_exit()`]]
+
 ]
 
 [endsect]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk