|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r62504 - trunk/libs/thread/doc
From: anthony_at_[hidden]
Date: 2010-06-07 05:04:55
Author: anthonyw
Date: 2010-06-07 05:04:54 EDT (Mon, 07 Jun 2010)
New Revision: 62504
URL: http://svn.boost.org/trac/boost/changeset/62504
Log:
Added documentation for thread move assignment
Text files modified:
trunk/libs/thread/doc/thread_ref.qbk | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
Modified: trunk/libs/thread/doc/thread_ref.qbk
==============================================================================
--- trunk/libs/thread/doc/thread_ref.qbk (original)
+++ trunk/libs/thread/doc/thread_ref.qbk 2010-06-07 05:04:54 EDT (Mon, 07 Jun 2010)
@@ -251,6 +251,24 @@
[endsect]
+[section:move_assignment Move assignment operator]
+
+ thread& operator=(detail::thread_move_t<thread> other);
+
+[variablelist
+
+[[Effects:] [Transfers ownership of the thread managed by `other` (if
+any) to `*this`. If there was a thread previously associated with
+`*this` then that thread is detached.]]
+
+[[Postconditions:] [`other->get_id()==thread::id()`]]
+
+[[Throws:] [Nothing]]
+
+]
+
+[endsect]
+
[section:callable_constructor Thread Constructor]
template<typename Callable>
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