From f763a99a501650eff2c60288aa6f10ef916d769e Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 6 Oct 2016 10:41:18 +0900 Subject: Imported Upstream version 1.62.0 Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c Signed-off-by: DongHun Kwak --- doc/html/thread/ScopedThreads.html | 89 ++-- doc/html/thread/acknowledgements.html | 6 +- doc/html/thread/build.html | 44 +- doc/html/thread/changes.html | 261 +++++++--- doc/html/thread/compliance.html | 30 +- doc/html/thread/emulations.html | 30 +- doc/html/thread/future.html | 12 +- doc/html/thread/parallel.html | 18 +- doc/html/thread/sds.html | 139 +++--- doc/html/thread/synchronization.html | 784 +++++++++++++++--------------- doc/html/thread/thread_local_storage.html | 34 +- doc/html/thread/thread_management.html | 165 ++++--- doc/html/thread/time.html | 18 +- 13 files changed, 854 insertions(+), 776 deletions(-) (limited to 'doc/html/thread') diff --git a/doc/html/thread/ScopedThreads.html b/doc/html/thread/ScopedThreads.html index 5963554941..b1139999a0 100644 --- a/doc/html/thread/ScopedThreads.html +++ b/doc/html/thread/ScopedThreads.html @@ -4,9 +4,9 @@ Scoped Threads - + - + @@ -27,7 +27,7 @@ -
+

- Synopsis + Synopsis

//#include <boost/thread/scoped_thread.hpp>
 
@@ -95,7 +95,7 @@
 
-
+
Functor detach
Functor @@ -163,7 +163,7 @@ -
+
Constructor from a thread
Move @@ -206,20 +206,20 @@

- Example + Example
boost::strict_scoped_thread<> t((boost::thread(F)));
 

Constructor - from a thread + from a thread

explicit strict_scoped_thread(thread&& t) noexcept;
 

-
+
Effects:

move the thread to own t_ @@ -241,7 +241,7 @@

-
+
Effects:

Construct an internal thread in place. @@ -266,7 +266,7 @@

-
+
Effects:

Equivalent to CallableThread()(t_). @@ -284,7 +284,7 @@

-
+
Default Constructor
Move @@ -398,7 +398,7 @@

- Example + Example
boost::scoped_thread<> t((boost::thread(F)));
 t.interrupt();
@@ -412,7 +412,7 @@
 

-
+
Effects:

Constructs a scoped_thread instance that wraps to Not-a-Thread. @@ -437,7 +437,7 @@

-
+
Effects:

Transfers ownership of the scoped_thread managed by other (if any) to the newly constructed @@ -465,24 +465,12 @@

-
+
Effects:
-
-

- Transfers ownership of the scoped_thread managed by other (if any) to *this. -

-

- - if defined BOOST_THREAD_DONT_PROVIDE_THREAD_MOVE_ASSIGN_CALLS_TERMINATE_IF_JOINABLE: - If there was a scoped_thread - previously associated with *this then that scoped_thread - is detached, DEPRECATED -

-

- - if defined BOOST_THREAD_PROVIDES_THREAD_MOVE_ASSIGN_CALLS_TERMINATE_IF_JOINABLE: - If the scoped_thread - is joinable calls to std::terminate. -

-
+

+ Transfers ownership of the scoped_thread managed by other (if any) to *this + after having called to CallableThread()(t_). +

Postconditions:

other->get_id()==thread::id() @@ -491,7 +479,8 @@

Throws:

- Nothing + Nothing: The CallableThread()(t_) should not throw when joining the + thread as the scoped variable is on a scope outside the thread function.

@@ -499,13 +488,13 @@

Move - Constructor from a thread + Constructor from a thread

scoped_thread(thread&& t);
 

-
+
Effects:

Transfers ownership of the thread managed by other @@ -533,7 +522,7 @@

-
+
Effects:

Construct an internal thread in place. @@ -558,7 +547,7 @@

-
+
Effects:

Equivalent to CallableThread()(t_). @@ -580,7 +569,7 @@

-
+
Returns:

Equivalent to return t_.joinable(). @@ -601,7 +590,7 @@

-
+
Effects:

Equivalent to t_.join(). @@ -619,7 +608,7 @@

-
+
Effects:

Equivalent to return t_.try_join_for(rel_time). @@ -637,7 +626,7 @@

-
+
Effects:

Equivalent to return t_.try_join_until(abs_time). @@ -654,7 +643,7 @@

-
+
Effects:

Equivalent to t_.detach(). @@ -671,7 +660,7 @@

-
+
Effects:

Equivalent to return t_.get_id(). @@ -688,7 +677,7 @@

-
+
Effects:

Equivalent to t_.interrupt(). @@ -705,7 +694,7 @@

-
+
Effects:

Equivalent to return thread::hardware_concurrency(). @@ -722,7 +711,7 @@

-
+
Effects:

Equivalent to return thread::physical_concurrency(). @@ -740,7 +729,7 @@

-
+
Effects:

Equivalent to return t_.native_handle(). @@ -757,7 +746,7 @@

-
+
Effects:

Equivalent t_.swap(other.t_). @@ -777,7 +766,7 @@

-
+
Effects:

lhs.swap(rhs). @@ -788,7 +777,7 @@

-
-

-
+
Requires:

@@ -15445,7 +15445,7 @@

-
+
Preconditions:

The types Fn shall @@ -15504,7 +15504,7 @@

-
+
Preconditions:

The types Fn shall @@ -15543,7 +15543,7 @@

-
+
Requires:

- For the first overload, InputIterator's @@ -15667,7 +15667,7 @@

-
+
Requires:

- For the first overload, InputIterator's @@ -15792,7 +15792,7 @@

-
+
Remark:

where V is determined @@ -15849,17 +15849,17 @@

-
exceptional_ptr make_exceptional(exception_ptr ex);  // EXTENSION
+
exceptional_ptr make_exceptional_future(exception_ptr ex);  // EXTENSION
 template <typename E>
-  exceptional_ptr make_exceptional(E ex);  // EXTENSION
-exceptional_ptr make_exceptional();  // EXTENSION
+  exceptional_ptr make_exceptional_future(E ex);  // EXTENSION
+exceptional_ptr make_exceptional_future();  // EXTENSION
 

-
+
Effects:

The exception that is passed in to the function or the current @@ -15887,7 +15887,7 @@

-
+
Effects:

The value that is passed into the function is moved to the shared @@ -15930,7 +15930,7 @@

-
+
Effects:

The value that is passed in to the function is moved to the shared @@ -15968,7 +15968,7 @@

-
-

-
+
Requires:

delete this->get() is well-formed. @@ -181,7 +181,7 @@

-
+
Requires:

cleanup_function(this->get()) does not throw any exceptions. @@ -208,7 +208,7 @@

-
+
Requires:

All the thread specific instances associated to this thread_specific_ptr @@ -251,7 +251,7 @@

-
+
Returns:

The pointer associated with the current thread. @@ -279,7 +279,7 @@

-
+
Returns:

this->get() @@ -297,7 +297,7 @@

-
+
Requires:

this->get is not NULL. @@ -320,7 +320,7 @@

-
+
Effects:

If this->get()!=new_value and this->get() is non-NULL, @@ -345,7 +345,7 @@

-
+
Effects:

Return this->get() @@ -368,7 +368,7 @@

-

-
+
Preconditions:

the thread is joinable. @@ -1320,7 +1323,7 @@

-
+
Preconditions:

the thread is joinable. @@ -1387,7 +1390,7 @@

-
+
Preconditions:

the thread is joinable. @@ -1452,7 +1455,7 @@

-
+
Preconditions:

the thread is joinable. @@ -1496,7 +1499,7 @@

-
+
Returns:

If *this @@ -1520,7 +1523,7 @@

-
+
Effects:

If *this @@ -1529,7 +1532,7 @@ points with interruption enabled, or if it is currently blocked in a call to one of the predefined interruption points - with interruption enabled . + with interruption enabled. Otherwise do noting.

Throws:

@@ -1547,7 +1550,7 @@

-
+
Returns:

The number of hardware threads available on the current system (e.g. @@ -1570,7 +1573,7 @@

-
+
Returns:

The number of physical cores available on the current system. In @@ -1594,7 +1597,7 @@

-
+
Effects:

Returns an instance of native_handle_type @@ -1633,7 +1636,7 @@

-
+
Returns:

get_id()==other.get_id() @@ -1665,7 +1668,7 @@

-
+
Returns:

get_id()!=other.get_id() @@ -1698,7 +1701,7 @@

-
+
Effects:

Suspends the current thread until the specified time has been reached. @@ -1741,7 +1744,7 @@

-
+
Effects:

See boost::this_thread::yield(). @@ -1758,7 +1761,7 @@

-
+
Effects:

Exchanges the threads of execution associated with *this @@ -1789,7 +1792,7 @@

-
+
Effects:

lhs.swap(rhs). @@ -1801,7 +1804,7 @@

-
+
Default constructor
operator==
@@ -1841,7 +1844,7 @@

-
+
Effects:

Constructs a boost::thread::id instance that represents @@ -1862,7 +1865,7 @@

-
+
Returns:

true if *this @@ -1885,7 +1888,7 @@

-
+
Returns:

true if *this @@ -1908,7 +1911,7 @@

-
+
Returns:

true if *this!=y @@ -1937,7 +1940,7 @@

-
+
Returns:

y<*this @@ -1957,7 +1960,7 @@

-
+
Returns:

!(y<*this) @@ -1977,7 +1980,7 @@

-
+
Returns:

!(*this<y) @@ -2000,7 +2003,7 @@

-
+
Effects:

Writes a representation of the boost::thread::id instance x to the stream os, such that the representation @@ -2021,7 +2024,7 @@ Class boost::thread::attributes EXTENSION

-
+
Default constructor
Member @@ -2056,7 +2059,7 @@

-
+
Effects:

Constructs a thread attributes instance with its default values. @@ -2077,7 +2080,7 @@

-
+
Effects:

Stores the stack size to be used to create a thread. This is a @@ -2106,7 +2109,7 @@

-
+
Returns:

The stack size to be used on the creation of a thread. Note that @@ -2131,7 +2134,7 @@

-
+
Effects:

Returns an instance of native_handle_type @@ -2154,7 +2157,7 @@

-
+
Non-member function get_id()
Non-member @@ -2219,7 +2222,7 @@

-
+
Returns:

An instance of boost::thread::id that represents that @@ -2247,7 +2250,7 @@

-
+
Effects:

Check to see if the current thread has been interrupted. @@ -2275,7 +2278,7 @@

-
+
Returns:

true if interruption @@ -2303,7 +2306,7 @@

-
+
Returns:

true if interruption @@ -2350,7 +2353,7 @@

-
+
Effects:

Suspends the current thread until the time period specified by rel_time has elapsed or the time @@ -2391,7 +2394,7 @@

-
+
Effects:

Suspends the current thread until the time point specified by abs_time has been reached. @@ -2436,7 +2439,7 @@

-
+
Effects:

Suspends the current thread until the duration specified by rel_time has elapsed. @@ -2475,7 +2478,7 @@

-
+
Effects:

Gives up the remainder of the current thread's time slice, to allow @@ -2493,7 +2496,7 @@ Class disable_interruption EXTENSION

-
+ @@ -2525,7 +2528,7 @@

-
+
Effects:

Stores the current state of boost::this_thread::interruption_enabled() @@ -2552,7 +2555,7 @@

-
+
Preconditions:

Must be called from the same thread from which *this was constructed. @@ -2581,7 +2584,7 @@ Class restore_interruption EXTENSION

-
+ @@ -2614,7 +2617,7 @@

-
+
Preconditions:

Must be called from the same thread from which disabler @@ -2646,7 +2649,7 @@

-
+
Preconditions:

Must be called from the same thread from which *this was constructed. @@ -2680,7 +2683,7 @@

-
+
Effects:

A copy of func is @@ -2717,7 +2720,7 @@

-
+
Constructor
Destructor
Member @@ -2775,7 +2778,7 @@

-
+
Effects:

Create a new thread group with no threads. @@ -2791,7 +2794,7 @@

-
+
Effects:

Destroy *this @@ -2811,7 +2814,7 @@

-
+
Effects:

Create a new boost::thread object as-if by @@ -2838,7 +2841,7 @@

-
+
Precondition:

The expression delete thrd is well-formed and will not @@ -2867,7 +2870,7 @@

-
+
Effects:

If thrd is a member @@ -2891,7 +2894,7 @@

-
+
Requires:

is_this_thread_in() == false. @@ -2923,7 +2926,7 @@

-
+
Returns:

true if there is a thread th @@ -2941,7 +2944,7 @@

-
+
Returns:

true if there is a thread th @@ -2959,7 +2962,7 @@

-
+
Effects:

Call interrupt() @@ -2977,7 +2980,7 @@

-
+
Returns:

The number of threads in the group. @@ -2993,7 +2996,7 @@

-