$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r66480 - trunk/libs/thread/doc
From: anthony_at_[hidden]
Date: 2010-11-10 05:02:49
Author: anthonyw
Date: 2010-11-10 05:02:42 EST (Wed, 10 Nov 2010)
New Revision: 66480
URL: http://svn.boost.org/trac/boost/changeset/66480
Log:
Added comment about lack of cleanup on native threads on some platforms
Text files modified:
trunk/libs/thread/doc/tss.qbk | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
Modified: trunk/libs/thread/doc/tss.qbk
==============================================================================
--- trunk/libs/thread/doc/tss.qbk (original)
+++ trunk/libs/thread/doc/tss.qbk 2010-11-10 05:02:42 EST (Wed, 10 Nov 2010)
@@ -41,6 +41,11 @@
cleaned up, that value is added to the cleanup list. Cleanup finishes when there are no outstanding instances of
`boost::thread_specific_ptr` with values.
+Note: on some platforms, cleanup of thread-specific data is not
+performed for threads created with the platform's native API. On those
+platforms such cleanup is only done for threads that are started with
+`boost::thread` unless `boost::on_thread_exit()` is called manually
+from that thread.
[section:thread_specific_ptr Class `thread_specific_ptr`]