diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:41:18 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2016-10-06 10:43:11 +0900 |
commit | f763a99a501650eff2c60288aa6f10ef916d769e (patch) | |
tree | 02af7e13f9a38c888ebf340fe764cbe7dae99da9 /doc/html/thread | |
parent | 5cde13f21d36c7224b0e13d11c4b49379ae5210d (diff) | |
download | boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.gz boost-f763a99a501650eff2c60288aa6f10ef916d769e.tar.bz2 boost-f763a99a501650eff2c60288aa6f10ef916d769e.zip |
Imported Upstream version 1.62.0upstream/1.62.0
Change-Id: I9d4c1ddb7b7d8f0069217ecc582700f9fda6dd4c
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'doc/html/thread')
-rw-r--r-- | doc/html/thread/ScopedThreads.html | 89 | ||||
-rw-r--r-- | doc/html/thread/acknowledgements.html | 6 | ||||
-rw-r--r-- | doc/html/thread/build.html | 44 | ||||
-rw-r--r-- | doc/html/thread/changes.html | 261 | ||||
-rw-r--r-- | doc/html/thread/compliance.html | 30 | ||||
-rw-r--r-- | doc/html/thread/emulations.html | 30 | ||||
-rw-r--r-- | doc/html/thread/future.html | 12 | ||||
-rw-r--r-- | doc/html/thread/parallel.html | 18 | ||||
-rw-r--r-- | doc/html/thread/sds.html | 139 | ||||
-rw-r--r-- | doc/html/thread/synchronization.html | 784 | ||||
-rw-r--r-- | doc/html/thread/thread_local_storage.html | 34 | ||||
-rw-r--r-- | doc/html/thread/thread_management.html | 165 | ||||
-rw-r--r-- | doc/html/thread/time.html | 18 |
13 files changed, 854 insertions, 776 deletions
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 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Scoped Threads</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="thread_management.html" title="Thread Management"> <link rel="next" href="synchronization.html" title="Synchronization"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.ScopedThreads"></a><a class="link" href="ScopedThreads.html" title="Scoped Threads">Scoped Threads</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.motivation">Motivation</a></span></dt> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.thread_functors">Free Thread Functors</a></span></dt> @@ -38,7 +38,7 @@ </dl></div> <h4> <a name="thread.ScopedThreads.h0"></a> - <span><a name="thread.ScopedThreads.synopsis"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.synopsis">Synopsis</a> + <span class="phrase"><a name="thread.ScopedThreads.synopsis"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.synopsis">Synopsis</a> </h4> <pre class="programlisting"><span class="comment">//#include <boost/thread/scoped_thread.hpp></span> @@ -95,7 +95,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.ScopedThreads.thread_functors"></a><a class="link" href="ScopedThreads.html#thread.ScopedThreads.thread_functors" title="Free Thread Functors">Free Thread Functors</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.thread_functors.detach">Functor <code class="computeroutput"><span class="identifier">detach</span></code></a></span></dt> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.thread_functors.join_if_joinable">Functor @@ -163,7 +163,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.ScopedThreads.strict_scoped_thread"></a><a class="link" href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread" title="Class strict_scoped_thread">Class <code class="computeroutput"><span class="identifier">strict_scoped_thread</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread.default_constructor">Constructor from a <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">thread</span></code></a></a></span></dt> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread.call_constructor">Move @@ -206,20 +206,20 @@ </p> <h5> <a name="thread.ScopedThreads.strict_scoped_thread.h0"></a> - <span><a name="thread.ScopedThreads.strict_scoped_thread.example"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread.example">Example</a> + <span class="phrase"><a name="thread.ScopedThreads.strict_scoped_thread.example"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread.example">Example</a> </h5> <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">strict_scoped_thread</span><span class="special"><></span> <span class="identifier">t</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">(</span><span class="identifier">F</span><span class="special">)));</span> </pre> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="thread.ScopedThreads.strict_scoped_thread.default_constructor"></a><a class="link" href="ScopedThreads.html#thread.ScopedThreads.strict_scoped_thread.default_constructor" title="Constructor from a thread">Constructor - from a <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">thread</span></code></a></a> + from a <code class="computeroutput"><span class="identifier">thread</span></code></a> </h4></div></div></div> <pre class="programlisting"><span class="keyword">explicit</span> <span class="identifier">strict_scoped_thread</span><span class="special">(</span><span class="identifier">thread</span><span class="special">&&</span> <span class="identifier">t</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> move the thread to own <code class="computeroutput"><span class="identifier">t_</span></code> @@ -241,7 +241,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Construct an internal thread in place. @@ -266,7 +266,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to <code class="computeroutput"><span class="identifier">CallableThread</span><span class="special">()(</span><span class="identifier">t_</span><span class="special">)</span></code>. @@ -284,7 +284,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.ScopedThreads.scoped_thread"></a><a class="link" href="ScopedThreads.html#thread.ScopedThreads.scoped_thread" title="Class scoped_thread">Class <code class="computeroutput"><span class="identifier">scoped_thread</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.scoped_thread.default_constructor">Default Constructor</a></span></dt> <dt><span class="section"><a href="ScopedThreads.html#thread.ScopedThreads.scoped_thread.move_constructor">Move @@ -398,7 +398,7 @@ </p> <h5> <a name="thread.ScopedThreads.scoped_thread.h0"></a> - <span><a name="thread.ScopedThreads.scoped_thread.example"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.scoped_thread.example">Example</a> + <span class="phrase"><a name="thread.ScopedThreads.scoped_thread.example"></a></span><a class="link" href="ScopedThreads.html#thread.ScopedThreads.scoped_thread.example">Example</a> </h5> <pre class="programlisting"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">scoped_thread</span><span class="special"><></span> <span class="identifier">t</span><span class="special">((</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">(</span><span class="identifier">F</span><span class="special">)));</span> <span class="identifier">t</span><span class="special">.</span><span class="identifier">interrupt</span><span class="special">();</span> @@ -412,7 +412,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a scoped_thread instance that wraps to <span class="emphasis"><em>Not-a-Thread</em></span>. @@ -437,7 +437,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the scoped_thread managed by <code class="computeroutput"><span class="identifier">other</span></code> (if any) to the newly constructed @@ -465,24 +465,12 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> -<dd> -<p> - Transfers ownership of the scoped_thread managed by <code class="computeroutput"><span class="identifier">other</span></code> (if any) to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. - </p> -<p> - - if defined <code class="computeroutput"><span class="identifier">BOOST_THREAD_DONT_PROVIDE_THREAD_MOVE_ASSIGN_CALLS_TERMINATE_IF_JOINABLE</span></code>: - If there was a <code class="computeroutput"><span class="identifier">scoped_thread</span></code> - previously associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> then that <code class="computeroutput"><span class="identifier">scoped_thread</span></code> - is detached, DEPRECATED - </p> -<p> - - if defined <code class="computeroutput"><span class="identifier">BOOST_THREAD_PROVIDES_THREAD_MOVE_ASSIGN_CALLS_TERMINATE_IF_JOINABLE</span></code>: - If the <code class="computeroutput"><span class="identifier">scoped_thread</span></code> - is joinable calls to std::terminate. - </p> -</dd> +<dd><p> + Transfers ownership of the scoped_thread managed by <code class="computeroutput"><span class="identifier">other</span></code> (if any) to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> + after having called to <code class="computeroutput"><span class="identifier">CallableThread</span><span class="special">()(</span><span class="identifier">t_</span><span class="special">)</span></code>. + </p></dd> <dt><span class="term">Postconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">other</span><span class="special">-></span><span class="identifier">get_id</span><span class="special">()==</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span><span class="special">()</span></code> @@ -491,7 +479,8 @@ </p></dd> <dt><span class="term">Throws:</span></dt> <dd><p> - Nothing + Nothing: The <code class="computeroutput"><span class="identifier">CallableThread</span><span class="special">()(</span><span class="identifier">t_</span><span class="special">)</span></code> should not throw when joining the + thread as the scoped variable is on a scope outside the thread function. </p></dd> </dl> </div> @@ -499,13 +488,13 @@ <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="thread.ScopedThreads.scoped_thread.thread_constructor"></a><a class="link" href="ScopedThreads.html#thread.ScopedThreads.scoped_thread.thread_constructor" title="Move Constructor from a thread">Move - Constructor from a <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">thread</span></code></a></a> + Constructor from a <code class="computeroutput"><span class="identifier">thread</span></code></a> </h4></div></div></div> <pre class="programlisting"><span class="identifier">scoped_thread</span><span class="special">(</span><span class="identifier">thread</span><span class="special">&&</span> <span class="identifier">t</span><span class="special">);</span> </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the thread managed by <code class="computeroutput"><span class="identifier">other</span></code> @@ -533,7 +522,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Construct an internal thread in place. @@ -558,7 +547,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to <code class="computeroutput"><span class="identifier">CallableThread</span><span class="special">()(</span><span class="identifier">t_</span><span class="special">)</span></code>. @@ -580,7 +569,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> Equivalent to return t_.joinable(). @@ -601,7 +590,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to t_.join(). @@ -619,7 +608,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">try_join_for</span><span class="special">(</span><span class="identifier">rel_time</span><span class="special">)</span></code>. @@ -637,7 +626,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">try_join_until</span><span class="special">(</span><span class="identifier">abs_time</span><span class="special">)</span></code>. @@ -654,7 +643,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">detach</span><span class="special">()</span></code>. @@ -671,7 +660,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">get_id</span><span class="special">()</span></code>. @@ -688,7 +677,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">interrupt</span><span class="special">()</span></code>. @@ -705,7 +694,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">thread</span><span class="special">::</span><span class="identifier">hardware_concurrency</span><span class="special">()</span></code>. @@ -722,7 +711,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">thread</span><span class="special">::</span><span class="identifier">physical_concurrency</span><span class="special">()</span></code>. @@ -740,7 +729,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent to return <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">native_handle</span><span class="special">()</span></code>. @@ -757,7 +746,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Equivalent <code class="computeroutput"><span class="identifier">t_</span><span class="special">.</span><span class="identifier">swap</span><span class="special">(</span><span class="identifier">other</span><span class="special">.</span><span class="identifier">t_</span><span class="special">)</span></code>. @@ -777,7 +766,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lhs</span><span class="special">.</span><span class="identifier">swap</span><span class="special">(</span><span class="identifier">rhs</span><span class="special">)</span></code>. @@ -788,7 +777,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/acknowledgements.html b/doc/html/thread/acknowledgements.html index 082c7d25f5..3c828cd8b8 100644 --- a/doc/html/thread/acknowledgements.html +++ b/doc/html/thread/acknowledgements.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Acknowledgments</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="emulations.html" title="Emulations"> <link rel="next" href="compliance.html" title="Conformance and Extension"> </head> @@ -53,7 +53,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/build.html b/doc/html/thread/build.html index f7b68e6b68..32b5b99636 100644 --- a/doc/html/thread/build.html +++ b/doc/html/thread/build.html @@ -4,10 +4,10 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Using and building the library</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> -<link rel="prev" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> +<link rel="prev" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="next" href="changes.html" title="History"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.build"></a><a class="link" href="build.html" title="Using and building the library">Using and building the library</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="build.html#thread.build.configuration">Configuration</a></span></dt> <dt><span class="section"><a href="build.html#thread.build.limitations">Limitations</a></span></dt> </dl></div> @@ -54,7 +54,7 @@ <p> Boost.Thread depends on some non header-only libraries. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Boost.System: This dependency is mandatory and you will need to link with the library. @@ -95,7 +95,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.build.configuration"></a><a class="link" href="build.html#thread.build.configuration" title="Configuration">Configuration</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="build.html#thread.build.configuration.chrono">Boost.Chrono</a></span></dt> <dt><span class="section"><a href="build.html#thread.build.configuration.move">Boost.Move</a></span></dt> <dt><span class="section"><a href="build.html#thread.build.configuration.date_time">Boost.DateTime</a></span></dt> @@ -131,7 +131,7 @@ <dt><span class="section"><a href="build.html#thread.build.configuration.version">Version</a></span></dt> </dl></div> <div class="table"> -<a name="thread.build.configuration.default_values_for_configurable_features"></a><p class="title"><b>Table 33.1. Default Values for Configurable Features</b></p> +<a name="thread.build.configuration.default_values_for_configurable_features"></a><p class="title"><b>Table 35.1. Default Values for Configurable Features</b></p> <div class="table-contents"><table class="table" summary="Default Values for Configurable Features"> <colgroup> <col> @@ -810,10 +810,10 @@ </h4></div></div></div> <p> The Boost.DateTime time related functions introduced in Boost 1.35.0, using - the <a class="link" href="../date_time.html" title="Chapter 9. Boost.Date_Time">Boost.Date_Time</a> library are deprecated. + the <a class="link" href="../date_time.html" title="Chapter 10. Boost.Date_Time">Boost.Date_Time</a> library are deprecated. These include (but are not limited to): </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a class="link" href="thread_management.html#thread.thread_management.this_thread.sleep" title="Non-member function sleep() DEPRECATED"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">this_thread</span><span class="special">::</span><span class="identifier">sleep</span><span class="special">()</span></code></a> </li> @@ -868,7 +868,7 @@ <p> The following operators are deprecated: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="keyword">operator</span><span class="special">==</span></code> </li> @@ -883,7 +883,7 @@ <p> Use instead </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span><span class="special">::</span><span class="keyword">operator</span><span class="special">==</span></code> </li> @@ -945,7 +945,7 @@ <p> The following nested typedefs are deprecated: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mutex</span><span class="special">::</span><span class="identifier">scoped_lock</span></code>, </li> @@ -1276,7 +1276,7 @@ </code> is defined Boost.Thread provides this C++ feature if the following are not defined </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> BOOST_NO_SFINAE_EXPR </li> @@ -1363,7 +1363,7 @@ the Boost.Thread version. The default version is 2. In this case the following breaking or extending macros are defined if the opposite is not requested: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_PROVIDES_PROMISE_LAZY</span></code> </li></ul></div> <p> @@ -1371,7 +1371,7 @@ to 3. In this case the following breaking or extending macros are defined if the opposite is not requested: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Breaking change <code class="computeroutput"><span class="identifier">BOOST_THREAD_PROVIDES_EXPLICIT_LOCK_CONVERSION</span> </code> @@ -1406,7 +1406,7 @@ to 4. In this case the following breaking or extending macros are defined if the opposite is not requested: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Conformity & Breaking change <code class="computeroutput"><span class="identifier">BOOST_THREAD_PROVIDES_SIGNATURE_PACKAGED_TASK</span> </code> @@ -1431,7 +1431,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.build.limitations"></a><a class="link" href="build.html#thread.build.limitations" title="Limitations">Limitations</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="build.html#thread.build.limitations.sun">SunPro</a></span></dt> <dt><span class="section"><a href="build.html#thread.build.limitations.vacpp">VACPP</a></span></dt> <dt><span class="section"><a href="build.html#thread.build.limitations.ce">WCE</a></span></dt> @@ -1446,13 +1446,13 @@ <p> If __SUNPRO_CC < 0x5100 the library defines </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_DONT_USE_MOVE</span></code> </li></ul></div> <p> If __SUNPRO_CC < 0x5100 the library defines </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_DONT_PROVIDE_FUTURE_CTOR_ALLOCATORS</span></code> </li></ul></div> </div> @@ -1463,7 +1463,7 @@ <p> If __IBMCPP__ < 1100 the library defines </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_DONT_USE_CHRONO</span></code> </li> @@ -1482,7 +1482,7 @@ <p> If _WIN32_WCE && _WIN32_WCE==0x501 the library defines </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_DONT_PROVIDE_FUTURE_CTOR_ALLOCATORS</span></code> </li></ul></div> </div> @@ -1490,7 +1490,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/changes.html b/doc/html/thread/changes.html index 810a4f05c6..e43df95c25 100644 --- a/doc/html/thread/changes.html +++ b/doc/html/thread/changes.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>History</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="build.html" title="Using and building the library"> <link rel="next" href="future.html" title="Future"> </head> @@ -29,13 +29,118 @@ </h2></div></div></div> <h4> <a name="thread.changes.h0"></a> - <span><a name="thread.changes.version_4_7_0___boost_1_61"></a></span><a class="link" href="changes.html#thread.changes.version_4_7_0___boost_1_61">Version + <span class="phrase"><a name="thread.changes.version_4_7_1___boost_1_62"></a></span><a class="link" href="changes.html#thread.changes.version_4_7_1___boost_1_62">Version + 4.7.1 - boost 1.62</a> + </h4> +<p> + <span class="bold"><strong>Know Bugs:</strong></span> + </p> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/3926" target="_top">#3926</a> + thread_specific_ptr + dlopen library causes a SIGSEGV. + </li></ul></div> +<p> + Please define BOOST_THREAD_PATCH to apply the patch that could unfortunately + results is a regression as described in <a href="http://svn.boost.org/trac/boost/ticket/12049" target="_top">#12049</a>. + </p> +<p> + Please take a look at <a href="https://svn.boost.org/trac/boost/query?status=assigned&status=new&status=reopened&component=thread&type=!Feature+Requests&col=id&col=summary&order=id" target="_top">thread + Know Bugs</a> to see the current state. + </p> +<p> + Please take a look at <a href="http://www.boost.org/development/tests/master/developer/thread.html" target="_top">thread + trunk regression test</a> to see the last regression test snapshot. + </p> +<p> + <span class="bold"><strong>Fixed Bugs:</strong></span> + </p> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/11097" target="_top">#11097</a> + test_scheduled_tp - ThreadSanitizer: heap-use-after-free + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/11951" target="_top">#11951</a> + Memory leak in boost::when_all + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12102" target="_top">#12102</a> + condition_variable_fwd.hpp fails to compile when BOOST_THREAD_PROVIDES_INTERRUPTIONS + is disabled + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12120" target="_top">#12120</a> + Performance improvement in thread/barrier.hpp + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12146" target="_top">#12146</a> + make_exceptional_future is not mentioned in the docs + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12202" target="_top">#12202</a> + shared_lock should be in shared_mutex header + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12220" target="_top">#12220</a> + Memory leak in future::then() + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12293" target="_top">#12293</a> + boost::future::then lambda called before future is ready. + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12350" target="_top">#12350</a> + shared_mutex (pthreads) unlocked too early in unlock_shared() + </li> +<li class="listitem"> + <a href="http://svn.boost.org/trac/boost/ticket/12371" target="_top">#12371</a> + boost thread/future.hpp fails to build + </li> +</ul></div> +<p> + and several PR + </p> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> +<li class="listitem"> + #88 fix typos in boost::upgrade_lock + </li> +<li class="listitem"> + #89 fix a bug in upgrade_to_unique_lock<>::operator=() + </li> +<li class="listitem"> + #90 fix a bug in try_lock_wrapper<>::operator=() + </li> +<li class="listitem"> + #91 Add shared_lock_guard to the included lock types + </li> +<li class="listitem"> + #92 Fixed compilation with MSVC-8. + </li> +<li class="listitem"> + #93 Fix variable shadowing warnings (Clang) + </li> +<li class="listitem"> + #94 fix bugs in boost::barrier + </li> +<li class="listitem"> + #95 fix a mistake in boost::completion_latch + </li> +<li class="listitem"> + #96 rename async_func.hpp to invoker.hpp. + </li> +<li class="listitem"> + #97 fix a mistake in sync_timed_queue<>::pull_until() + </li> +</ul></div> +<h4> +<a name="thread.changes.h1"></a> + <span class="phrase"><a name="thread.changes.version_4_7_0___boost_1_61"></a></span><a class="link" href="changes.html#thread.changes.version_4_7_0___boost_1_61">Version 4.7.0 - boost 1.61</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/3926" target="_top">#3926</a> thread_specific_ptr + dlopen library causes a SIGSEGV. </li></ul></div> @@ -43,7 +148,7 @@ Please define BOOST_THREAD_PATCH to apply the patch that could unfortunately results is a regression as described in <a href="http://svn.boost.org/trac/boost/ticket/12049" target="_top">#12049</a>. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/4833" target="_top">#4833</a> MinGW/test_tss_lib: Support of automatic tss cleanup for native threading @@ -70,14 +175,14 @@ <p> <span class="bold"><strong>New Experimental Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/11772" target="_top">#11772</a> Add a launch::sync policy </li></ul></div> <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/11494" target="_top">#11494</a> boost::this_thread::yield() is marked as deprecated in the synopsis @@ -98,14 +203,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h1"></a> - <span><a name="thread.changes.version_4_6_0___boost_1_60"></a></span><a class="link" href="changes.html#thread.changes.version_4_6_0___boost_1_60">Version +<a name="thread.changes.h2"></a> + <span class="phrase"><a name="thread.changes.version_4_6_0___boost_1_60"></a></span><a class="link" href="changes.html#thread.changes.version_4_6_0___boost_1_60">Version 4.6.0 - boost 1.60</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/4833" target="_top">#4833</a> MinGW/test_tss_lib: Support of automatic tss cleanup for native threading @@ -136,7 +241,7 @@ <p> <span class="bold"><strong>New Experimental Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/11231" target="_top">#11231</a> Allow to set continuation future's destructor behavior to non-blocking @@ -164,7 +269,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6377" target="_top">#6377</a> Condition variable blocks when changing time @@ -303,14 +408,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h2"></a> - <span><a name="thread.changes.version_4_5_0___boost_1_58"></a></span><a class="link" href="changes.html#thread.changes.version_4_5_0___boost_1_58">Version +<a name="thread.changes.h3"></a> + <span class="phrase"><a name="thread.changes.version_4_5_0___boost_1_58"></a></span><a class="link" href="changes.html#thread.changes.version_4_5_0___boost_1_58">Version 4.5.0 - boost 1.58</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/3926" target="_top">#3926</a> thread_specific_ptr + dlopen library causes a SIGSEGV. @@ -357,7 +462,7 @@ There are some severe bugs that prevent the use of the library on concrete contexts, in particular: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> on thread specific storage that prevent the library to be used with dynamic libraries ( <a href="http://svn.boost.org/trac/boost/ticket/3926" target="_top">#3926</a>, ), @@ -365,7 +470,7 @@ <p> <span class="bold"><strong>New Experimental Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/9600" target="_top">#9600</a> Async: Add task_region @@ -386,7 +491,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6787" target="_top">#6787</a> boost::thread::sleep() hangs if system time is rolled back @@ -451,14 +556,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h3"></a> - <span><a name="thread.changes.version_4_4_0___boost_1_57"></a></span><a class="link" href="changes.html#thread.changes.version_4_4_0___boost_1_57">Version +<a name="thread.changes.h4"></a> + <span class="phrase"><a name="thread.changes.version_4_4_0___boost_1_57"></a></span><a class="link" href="changes.html#thread.changes.version_4_4_0___boost_1_57">Version 4.4.0 - boost 1.57</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2442" target="_top">#2442</a> Application statically linked with Boost.Thread crashes when Google Desktop @@ -522,14 +627,14 @@ There are some severe bugs that prevent the use of the library on concrete contexts, in particular: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> on thread specific storage that prevent the library to be used with dynamic libraries, </li></ul></div> <p> <span class="bold"><strong>New Experimental Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6227" target="_top">#6227</a> Synchro: Use of variadic templates on Generic Locking Algorithms on compilers @@ -551,7 +656,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6782" target="_top">#6782</a> call_once uses incorrect barrier intrinsic on Visual Studio @@ -659,14 +764,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h4"></a> - <span><a name="thread.changes.version_4_3_0___boost_1_56"></a></span><a class="link" href="changes.html#thread.changes.version_4_3_0___boost_1_56">Version +<a name="thread.changes.h5"></a> + <span class="phrase"><a name="thread.changes.version_4_3_0___boost_1_56"></a></span><a class="link" href="changes.html#thread.changes.version_4_3_0___boost_1_56">Version 4.3.0 - boost 1.56</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2442" target="_top">#2442</a> Application statically linked with Boost.Thread crashes when Google Desktop @@ -737,7 +842,7 @@ There are some severe bugs that prevent the use of the library on concrete contexts, in particular: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> on thread specific storage that prevent the library to be used with dynamic libraries, @@ -750,7 +855,7 @@ <p> <span class="bold"><strong>New Experimental Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/7446" target="_top">#7446</a> Async: Add when_any. @@ -783,7 +888,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/8070" target="_top">#8070</a> prefer GetTickCount64 over GetTickCount @@ -831,14 +936,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h5"></a> - <span><a name="thread.changes.version_4_2_0___boost_1_55"></a></span><a class="link" href="changes.html#thread.changes.version_4_2_0___boost_1_55">Version +<a name="thread.changes.h6"></a> + <span class="phrase"><a name="thread.changes.version_4_2_0___boost_1_55"></a></span><a class="link" href="changes.html#thread.changes.version_4_2_0___boost_1_55">Version 4.2.0 - boost 1.55</a> </h4> <p> <span class="bold"><strong>Know Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2442" target="_top">#2442</a> Application statically linked with Boost.Thread crashes when Google Desktop @@ -896,7 +1001,7 @@ There are some severe bugs that prevent the use of the library on concrete contexts, in particular: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> on thread specific storage that prevent the library to be used with dynamic libraries, @@ -909,7 +1014,7 @@ <p> <span class="bold"><strong>New Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/8519" target="_top">#8519</a> Synchro: Update class barrier with a completion function. @@ -950,7 +1055,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/7461" target="_top">#7461</a> detail::win32::ReleaseSemaphore may be called with count_to_release equal @@ -999,14 +1104,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h6"></a> - <span><a name="thread.changes.version_4_1_0___boost_1_54"></a></span><a class="link" href="changes.html#thread.changes.version_4_1_0___boost_1_54">Version +<a name="thread.changes.h7"></a> + <span class="phrase"><a name="thread.changes.version_4_1_0___boost_1_54"></a></span><a class="link" href="changes.html#thread.changes.version_4_1_0___boost_1_54">Version 4.1.0 - boost 1.54</a> </h4> <p> <span class="bold"><strong>New Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/7285" target="_top">#7285</a> C++11 compliance: Allow to pass movable arguments for call_once. @@ -1023,7 +1128,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/4878" target="_top">#4878</a> MinGW 4.5.0 undefined reference to bool interruptible_wait(detail::win32::handle @@ -1160,8 +1265,8 @@ </li> </ul></div> <h4> -<a name="thread.changes.h7"></a> - <span><a name="thread.changes.version_4_0_0___boost_1_53"></a></span><a class="link" href="changes.html#thread.changes.version_4_0_0___boost_1_53">Version +<a name="thread.changes.h8"></a> + <span class="phrase"><a name="thread.changes.version_4_0_0___boost_1_53"></a></span><a class="link" href="changes.html#thread.changes.version_4_0_0___boost_1_53">Version 4.0.0 - boost 1.53</a> </h4> <p> @@ -1176,7 +1281,7 @@ Deprecated features since boost 1.53 will be available only until boost 1.58. </p></td></tr> </table></div> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> C++11 compliance: packaged_task<R> is deprecated, use instead packaged_task<R()>. See BOOST_THREAD_PROVIDES_SIGNATURE_PACKAGED_TASK and BOOST_THREAD_DONT_PROVIDE_SIGNATURE_PACKAGED_TASK @@ -1189,7 +1294,7 @@ <p> <span class="bold"><strong>New Features:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6270" target="_top">#6270</a> c++11 compliance: Add thread constructor from movable callable and movable @@ -1289,7 +1394,7 @@ <p> <span class="bold"><strong>Fixed Bugs:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/5752" target="_top">#5752</a> boost::call_once() is unreliable on some platforms @@ -1357,8 +1462,8 @@ </li> </ul></div> <h4> -<a name="thread.changes.h8"></a> - <span><a name="thread.changes.version_3_1_0___boost_1_52"></a></span><a class="link" href="changes.html#thread.changes.version_3_1_0___boost_1_52">Version +<a name="thread.changes.h9"></a> + <span class="phrase"><a name="thread.changes.version_3_1_0___boost_1_52"></a></span><a class="link" href="changes.html#thread.changes.version_3_1_0___boost_1_52">Version 3.1.0 - boost 1.52</a> </h4> <p> @@ -1376,7 +1481,7 @@ will be only available until boost 1.55, that is you have yet 1 year to move to the new features. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> Time related functions don't using the Boost.Chrono library, use the chrono overloads instead. </li></ul></div> @@ -1390,7 +1495,7 @@ corresponding macro. As for the deprecated features, these broken features will be only available until boost 1.55. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6229" target="_top">#6229</a> Rename the unique_future to future following the c++11. @@ -1407,7 +1512,7 @@ <p> New Features: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2361" target="_top">#2361</a> thread_specific_ptr: document nature of the key, complexity and rationale. @@ -1428,7 +1533,7 @@ <p> Fixed Bugs: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2797" target="_top">#2797</a> Two problems with thread_specific_ptr. @@ -1522,8 +1627,8 @@ </li> </ul></div> <h4> -<a name="thread.changes.h9"></a> - <span><a name="thread.changes.version_3_0_1___boost_1_51"></a></span><a class="link" href="changes.html#thread.changes.version_3_0_1___boost_1_51">Version +<a name="thread.changes.h10"></a> + <span class="phrase"><a name="thread.changes.version_3_0_1___boost_1_51"></a></span><a class="link" href="changes.html#thread.changes.version_3_0_1___boost_1_51">Version 3.0.1 - boost 1.51</a> </h4> <p> @@ -1541,7 +1646,7 @@ will be only available until boost 1.55, that is you have 1 year and a half to move to the new features. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> Time related functions don't using the Boost.Chrono library, use the chrono overloads instead. </li></ul></div> @@ -1555,7 +1660,7 @@ corresponding macro. As for the deprecated features, these broken features will be only available until boost 1.55. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6229" target="_top">#6229</a> Rename the unique_future to future following the c++11. @@ -1572,7 +1677,7 @@ <p> Fixed Bugs: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/4258" target="_top">#4258</a> Linking with boost thread does not work on mingw/gcc 4.5. @@ -1613,14 +1718,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h10"></a> - <span><a name="thread.changes.version_3_0_0___boost_1_50"></a></span><a class="link" href="changes.html#thread.changes.version_3_0_0___boost_1_50">Version +<a name="thread.changes.h11"></a> + <span class="phrase"><a name="thread.changes.version_3_0_0___boost_1_50"></a></span><a class="link" href="changes.html#thread.changes.version_3_0_0___boost_1_50">Version 3.0.0 - boost 1.50</a> </h4> <p> Breaking changes when BOOST_THREAD_VERSION==3: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/6229" target="_top">#6229</a> Breaking change: Rename the unique_future to future following the c++11. @@ -1637,7 +1742,7 @@ <p> New Features: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/1850" target="_top">#1850</a> Request for unlock_guard to compliment lock_guard. @@ -1733,7 +1838,7 @@ <p> Fixed Bugs: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2380" target="_top">#2380</a> boost::move from lvalue does not work with gcc. @@ -1826,14 +1931,14 @@ </li> </ul></div> <h4> -<a name="thread.changes.h11"></a> - <span><a name="thread.changes.version_2_1_1___boost_1_49"></a></span><a class="link" href="changes.html#thread.changes.version_2_1_1___boost_1_49">Version +<a name="thread.changes.h12"></a> + <span class="phrase"><a name="thread.changes.version_2_1_1___boost_1_49"></a></span><a class="link" href="changes.html#thread.changes.version_2_1_1___boost_1_49">Version 2.1.1 - boost 1.49</a> </h4> <p> Fixed Bugs: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/2309" target="_top">#2309</a> Lack of g++ symbol visibility support in Boost.Thread. @@ -1924,8 +2029,8 @@ </li> </ul></div> <h4> -<a name="thread.changes.h12"></a> - <span><a name="thread.changes.version_2_1_0___changes_since_boost_1_40"></a></span><a class="link" href="changes.html#thread.changes.version_2_1_0___changes_since_boost_1_40">Version 2.1.0 +<a name="thread.changes.h13"></a> + <span class="phrase"><a name="thread.changes.version_2_1_0___changes_since_boost_1_40"></a></span><a class="link" href="changes.html#thread.changes.version_2_1_0___changes_since_boost_1_40">Version 2.1.0 - Changes since boost 1.40</a> </h4> <p> @@ -1933,14 +2038,14 @@ a few minor changes. </p> <h4> -<a name="thread.changes.h13"></a> - <span><a name="thread.changes.changes_since_boost_1_35"></a></span><a class="link" href="changes.html#thread.changes.changes_since_boost_1_35">Changes +<a name="thread.changes.h14"></a> + <span class="phrase"><a name="thread.changes.changes_since_boost_1_35"></a></span><a class="link" href="changes.html#thread.changes.changes_since_boost_1_35">Changes since boost 1.35</a> </h4> <p> The 1.36.0 release of Boost includes a few new features in the thread library: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> New generic <a class="link" href="synchronization.html#thread.synchronization.lock_functions.lock_multiple" title="Non-member function lock(Lockable1,Lockable2,...)"><code class="computeroutput"><span class="identifier">lock</span><span class="special">()</span></code></a> and <a class="link" href="synchronization.html#thread.synchronization.lock_functions.try_lock_multiple" title="Non-member function try_lock(Lockable1,Lockable2,...)"><code class="computeroutput"><span class="identifier">try_lock</span><span class="special">()</span></code></a> @@ -1970,8 +2075,8 @@ </li> </ul></div> <h4> -<a name="thread.changes.h14"></a> - <span><a name="thread.changes.version_2_0_0___changes_since_boost_1_34"></a></span><a class="link" href="changes.html#thread.changes.version_2_0_0___changes_since_boost_1_34">Version 2.0.0 +<a name="thread.changes.h15"></a> + <span class="phrase"><a name="thread.changes.version_2_0_0___changes_since_boost_1_34"></a></span><a class="link" href="changes.html#thread.changes.version_2_0_0___changes_since_boost_1_34">Version 2.0.0 - Changes since boost 1.34</a> </h4> <p> @@ -1981,11 +2086,11 @@ with the old code. The new features and breaking changes are described below. </p> <h4> -<a name="thread.changes.h15"></a> - <span><a name="thread.changes.new_features"></a></span><a class="link" href="changes.html#thread.changes.new_features">New +<a name="thread.changes.h16"></a> + <span class="phrase"><a name="thread.changes.new_features"></a></span><a class="link" href="changes.html#thread.changes.new_features">New Features</a> </h4> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Instances of <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span></code></a> and of the various lock types are now movable. @@ -2024,15 +2129,15 @@ </li> </ul></div> <h4> -<a name="thread.changes.h16"></a> - <span><a name="thread.changes.breaking_changes"></a></span><a class="link" href="changes.html#thread.changes.breaking_changes">Breaking +<a name="thread.changes.h17"></a> + <span class="phrase"><a name="thread.changes.breaking_changes"></a></span><a class="link" href="changes.html#thread.changes.breaking_changes">Breaking Changes</a> </h4> <p> The list below should cover all changes to the public interface which break backwards compatibility. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a class="link" href="synchronization.html#thread.synchronization.mutex_types.try_mutex" title="Typedef try_mutex"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">try_mutex</span></code></a> has been removed, and the functionality subsumed into <a class="link" href="synchronization.html#thread.synchronization.mutex_types.mutex" title="Class mutex"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">mutex</span></code></a>. <a class="link" href="synchronization.html#thread.synchronization.mutex_types.try_mutex" title="Typedef try_mutex"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">try_mutex</span></code></a> is left as a <code class="computeroutput"><span class="keyword">typedef</span></code>, but is no longer a separate class. @@ -2092,7 +2197,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/compliance.html b/doc/html/thread/compliance.html index 8d0777a053..d9fcf41da4 100644 --- a/doc/html/thread/compliance.html +++ b/doc/html/thread/compliance.html @@ -4,11 +4,11 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Conformance and Extension</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="acknowledgements.html" title="Acknowledgments"> -<link rel="next" href="../boost_tr1.html" title="Chapter 34. Boost.TR1"> +<link rel="next" href="../boost_tr1.html" title="Chapter 36. Boost.TR1"> </head> <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> <table cellpadding="2" width="100%"><tr> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.compliance"></a><a class="link" href="compliance.html" title="Conformance and Extension">Conformance and Extension</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="compliance.html#thread.compliance.cpp11">C++11 standard Thread library</a></span></dt> <dt><span class="section"><a href="compliance.html#thread.compliance.cxx14">C++14 standard Thread library - accepted changes</a></span></dt> @@ -54,7 +54,7 @@ ] </p> <div class="table"> -<a name="thread.compliance.cpp11.c__11_standard_conformance"></a><p class="title"><b>Table 33.2. C++11 standard Conformance</b></p> +<a name="thread.compliance.cpp11.c__11_standard_conformance"></a><p class="title"><b>Table 35.2. C++11 standard Conformance</b></p> <div class="table-contents"><table class="table" summary="C++11 standard Conformance"> <colgroup> <col> @@ -1607,7 +1607,7 @@ </table></div> </div> <br class="table-break"><div class="table"> -<a name="thread.compliance.cpp11.extension"></a><p class="title"><b>Table 33.3. Extension</b></p> +<a name="thread.compliance.cpp11.extension"></a><p class="title"><b>Table 35.3. Extension</b></p> <div class="table-contents"><table class="table" summary="Extension"> <colgroup> <col> @@ -1721,7 +1721,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx14.__http___isocpp_org_files_papers_n3659_html_n3659_shared_locking_in_c___revision_2__conformance"></a><p class="title"><b>Table 33.4. [@http://isocpp.org/files/papers/N3659.html N3659 Shared locking in +<a name="thread.compliance.cxx14.__http___isocpp_org_files_papers_n3659_html_n3659_shared_locking_in_c___revision_2__conformance"></a><p class="title"><b>Table 35.4. [@http://isocpp.org/files/papers/N3659.html N3659 Shared locking in C++ revision 2] Conformance</b></p> <div class="table-contents"><table class="table" summary="[@http://isocpp.org/files/papers/N3659.html N3659 Shared locking in C++ revision 2] Conformance"> @@ -1841,7 +1841,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.improvements_to_std__future_t__and_related_apis_"></a><p class="title"><b>Table 33.5. Improvements to std::future<T> and related APIs]</b></p> +<a name="thread.compliance.cxx1y.improvements_to_std__future_t__and_related_apis_"></a><p class="title"><b>Table 35.5. Improvements to std::future<T> and related APIs]</b></p> <div class="table-contents"><table class="table" summary="Improvements to std::future<T> and related APIs]"> <colgroup> <col> @@ -2124,7 +2124,7 @@ <a name="thread.compliance.cxx1y0"></a><a class="link" href="compliance.html#thread.compliance.cxx1y0" title="C++1z TS Concurrency - On going proposals">C++1z TS Concurrency - On going proposals</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="compliance.html#thread.compliance.cxx1y.latch">C++ Latches and Barriers</a></span></dt> <dt><span class="section"><a href="compliance.html#thread.compliance.cxx1y.queue">C++ Concurrent Queues</a></span></dt> <dt><span class="section"><a href="compliance.html#thread.compliance.cxx1y.executors">Executors and Schedulers</a></span></dt> @@ -2154,7 +2154,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.latch.c___latches_and_barriers_conformance"></a><p class="title"><b>Table 33.6. C++ Latches and Barriers Conformance</b></p> +<a name="thread.compliance.cxx1y.latch.c___latches_and_barriers_conformance"></a><p class="title"><b>Table 35.6. C++ Latches and Barriers Conformance</b></p> <div class="table-contents"><table class="table" summary="C++ Latches and Barriers Conformance"> <colgroup> <col> @@ -2253,7 +2253,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.queue.c___concurrent_queues_conformance"></a><p class="title"><b>Table 33.7. C++ Concurrent Queues Conformance</b></p> +<a name="thread.compliance.cxx1y.queue.c___concurrent_queues_conformance"></a><p class="title"><b>Table 35.7. C++ Concurrent Queues Conformance</b></p> <div class="table-contents"><table class="table" summary="C++ Concurrent Queues Conformance"> <colgroup> <col> @@ -3100,7 +3100,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.executors.executors_and_schedulers"></a><p class="title"><b>Table 33.8. Executors and Schedulers</b></p> +<a name="thread.compliance.cxx1y.executors.executors_and_schedulers"></a><p class="title"><b>Table 35.8. Executors and Schedulers</b></p> <div class="table-contents"><table class="table" summary="Executors and Schedulers"> <colgroup> <col> @@ -3409,7 +3409,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.executors._async__future_shared_future__then_and_executors"></a><p class="title"><b>Table 33.9. `async, future/shared_future::then`and Executors</b></p> +<a name="thread.compliance.cxx1y.executors._async__future_shared_future__then_and_executors"></a><p class="title"><b>Table 35.9. `async, future/shared_future::then`and Executors</b></p> <div class="table-contents"><table class="table" summary="`async, future/shared_future::then`and Executors"> <colgroup> <col> @@ -3514,7 +3514,7 @@ </p></td></tr> </table></div> <div class="table"> -<a name="thread.compliance.cxx1y.executors.executors_and_schedulers___revision_4"></a><p class="title"><b>Table 33.10. Executors and Schedulers - revision 4</b></p> +<a name="thread.compliance.cxx1y.executors.executors_and_schedulers___revision_4"></a><p class="title"><b>Table 35.10. Executors and Schedulers - revision 4</b></p> <div class="table-contents"><table class="table" summary="Executors and Schedulers - revision 4"> <colgroup> <col> @@ -3877,7 +3877,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/emulations.html b/doc/html/thread/emulations.html index 0f513dbf33..cb83dc430b 100644 --- a/doc/html/thread/emulations.html +++ b/doc/html/thread/emulations.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Emulations</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="time.html" title="Time Requirements"> <link rel="next" href="acknowledgements.html" title="Acknowledgments"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.emulations"></a><a class="link" href="emulations.html" title="Emulations">Emulations</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="emulations.html#thread.emulations.delete"><code class="computeroutput"><span class="special">=</span><span class="keyword">delete</span></code> emulation</a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.move">Move semantics</a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.bool_explicit_conversion">Bool explicit @@ -62,7 +62,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.emulations.move"></a><a class="link" href="emulations.html#thread.emulations.move" title="Move semantics">Move semantics</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="emulations.html#thread.emulations.move.deprecated">Deprecated Version 2 interface</a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.move.portable">Portable interface</a></span></dt> @@ -83,7 +83,7 @@ <a name="thread.emulations.move.deprecated"></a><a class="link" href="emulations.html#thread.emulations.move.deprecated" title="Deprecated Version 2 interface">Deprecated Version 2 interface</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="emulations.html#thread.emulations.move.deprecated.Helper">Helpers class and function</a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.move.deprecated.movable">Movable @@ -141,7 +141,7 @@ We can write a MovableOny class as follows. You just need to follow these simple steps: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Add a conversion to the <code class="computeroutput"><span class="identifier">detail</span><span class="special">::</span><span class="identifier">thread_move_t</span><span class="special"><</span><span class="identifier">classname</span><span class="special">></span></code> </li> @@ -195,7 +195,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.emulations.move.portable"></a><a class="link" href="emulations.html#thread.emulations.move.portable" title="Portable interface">Portable interface</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="emulations.html#thread.emulations.move.portable.NO_COPYABLE"><code class="computeroutput"><span class="identifier">BOOST_THREAD_NO_COPYABLE</span><span class="special">(</span><span class="identifier">CLASS</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.move.portable.MOVABLE"><code class="computeroutput"><span class="identifier">BOOST_THREAD_MOVABLE</span><span class="special">(</span><span class="identifier">CLASS</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.move.portable.MOVABLE_ONLY"><code class="computeroutput"><span class="identifier">BOOST_THREAD_MOVABLE_ONLY</span><span class="special">(</span><span class="identifier">CLASS</span><span class="special">)</span></code></a></span></dt> @@ -217,7 +217,7 @@ See the Boost.Move documentation for a complete description on how to declare new Movable classes and its limitations. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">TYPE</span><span class="special">)</span></code> is the equivalent of <code class="computeroutput"><span class="identifier">BOOST_RV_REF</span><span class="special">(</span><span class="identifier">TYPE</span><span class="special">)</span></code> </li> @@ -236,7 +236,7 @@ <p> In addition the following macros are needed to make the code portable: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_RV</span><span class="special">(</span><span class="identifier">V</span><span class="special">)</span></code> macro to access the rvalue from a BOOST_THREAD_RV_REF(TYPE), @@ -256,7 +256,7 @@ <p> Other macros are provided and must be included on the public section: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">BOOST_THREAD_NO_COPYABLE</span></code> declares a class no-copyable either deleting the copy constructors @@ -452,7 +452,7 @@ <a name="thread.emulations.bool_explicit_conversion"></a><a class="link" href="emulations.html#thread.emulations.bool_explicit_conversion" title="Bool explicit conversion">Bool explicit conversion</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="emulations.html#thread.emulations.bool_explicit_conversion.bool_conversion"><code class="computeroutput"><span class="keyword">operator</span> </code><span class="emphasis"><em>unspecified-bool-type</em></span><code class="computeroutput"><span class="special">()</span> <span class="keyword">const</span></code></a></span></dt> <dt><span class="section"><a href="emulations.html#thread.emulations.bool_explicit_conversion.operator_not"><code class="computeroutput"><span class="keyword">bool</span> <span class="keyword">operator</span><span class="special">!()</span> <span class="keyword">const</span></code></a></span></dt> </dl></div> @@ -482,7 +482,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> If <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock.owns_lock" title="bool owns_lock() const"><code class="computeroutput"><span class="identifier">owns_lock</span><span class="special">()</span></code></a> @@ -503,7 +503,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="special">!</span></code> <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock.owns_lock" title="bool owns_lock() const"><code class="computeroutput"><span class="identifier">owns_lock</span><span class="special">()</span></code></a>. @@ -554,7 +554,7 @@ <p> There are however some limitations: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> The type is not a C++ enum, so 'is_enum<future_errc>' will be false_type. </li> @@ -598,7 +598,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/future.html b/doc/html/thread/future.html index a2a1189fa2..924c52c95d 100644 --- a/doc/html/thread/future.html +++ b/doc/html/thread/future.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Future</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="changes.html" title="History"> <link rel="next" href="thread_management.html" title="Thread Management"> </head> @@ -33,14 +33,14 @@ <div class="orderedlist"><ol class="orderedlist" type="1"> <li class="listitem"> Add some minor features, in particular - <div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/7589" target="_top">#7589</a> Synchro: Add polymorphic lockables. </li></ul></div> </li> <li class="listitem"> Add some features based on C++ proposals, in particular - <div class="itemizedlist"><ul class="itemizedlist" type="disc"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/8273" target="_top">#8273</a> Synchro: Add externally locked streams. @@ -53,7 +53,7 @@ </li> <li class="listitem"> And some additional extensions related to futures as: - <div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> + <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <a href="http://svn.boost.org/trac/boost/ticket/8517" target="_top">#8517</a> Async: Add a variadic shared_future::then. </li></ul></div> @@ -62,7 +62,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/parallel.html b/doc/html/thread/parallel.html index 36eccfce2b..8e79354975 100644 --- a/doc/html/thread/parallel.html +++ b/doc/html/thread/parallel.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Parallel - Fork-Join -- EXPERIMENTAL</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="sds.html" title="Synchronized Data Structures"> <link rel="next" href="time.html" title="Time Requirements"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.parallel"></a><a class="link" href="parallel.html" title="Parallel - Fork-Join -- EXPERIMENTAL">Parallel - Fork-Join -- EXPERIMENTAL</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join">Fork-Join</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.ref">Reference -- EXPERIMENTAL</a></span></dt> </dl></div> @@ -35,7 +35,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.parallel.fork_join"></a><a class="link" href="parallel.html#thread.parallel.fork_join" title="Fork-Join">Fork-Join</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join.examples">Examples</a></span></dt> @@ -177,7 +177,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.parallel.fork_join.examples"></a><a class="link" href="parallel.html#thread.parallel.fork_join.examples" title="Examples">Examples</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join.examples.fib">Parallel Fibonacci</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.fork_join.examples.fibex">Parallel @@ -302,7 +302,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.parallel.ref"></a><a class="link" href="parallel.html#thread.parallel.ref" title="Reference -- EXPERIMENTAL">Reference -- EXPERIMENTAL</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="parallel.html#thread.parallel.ref.v1">Parallel V1</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.ref.v2">Parallel V2</a></span></dt> </dl></div> @@ -310,7 +310,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.parallel.ref.v1"></a><a class="link" href="parallel.html#thread.parallel.ref.v1" title="Parallel V1">Parallel V1</a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="parallel.html#thread.parallel.ref.v1.exception_list">Header <code class="computeroutput"><span class="special"><</span><span class="identifier">experimental</span><span class="special">/</span><span class="identifier">exception_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="parallel.html#thread.parallel.ref.v1.exception_list">Header <code class="computeroutput"><span class="special"><</span><span class="identifier">experimental</span><span class="special">/</span><span class="identifier">exception_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt></dl></div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> <a name="thread.parallel.ref.v1.exception_list"></a><a class="link" href="parallel.html#thread.parallel.ref.v1.exception_list" title="Header <experimental/exception_list.hpp>">Header <code class="computeroutput"><span class="special"><</span><span class="identifier">experimental</span><span class="special">/</span><span class="identifier">exception_list</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a> @@ -372,7 +372,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.parallel.ref.v2"></a><a class="link" href="parallel.html#thread.parallel.ref.v2" title="Parallel V2">Parallel V2</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="parallel.html#thread.parallel.ref.v2.concepts">Concepts</a></span></dt> <dt><span class="section"><a href="parallel.html#thread.parallel.ref.v2.task_region">Header <code class="computeroutput"><span class="special"><</span><span class="identifier">experimental</span><span class="special">/</span><span class="identifier">task_region</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span></code></a></span></dt> </dl></div> @@ -604,7 +604,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/sds.html b/doc/html/thread/sds.html index 92762e7058..299a0e670c 100644 --- a/doc/html/thread/sds.html +++ b/doc/html/thread/sds.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Synchronized Data Structures</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="thread_local_storage.html" title="Thread Local Storage"> <link rel="next" href="parallel.html" title="Parallel - Fork-Join -- EXPERIMENTAL"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.sds"></a><a class="link" href="sds.html" title="Synchronized Data Structures">Synchronized Data Structures</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx">Synchronized Values - EXPERIMENTAL</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues">Synchronized Queues -- @@ -38,7 +38,7 @@ <a name="thread.sds.synchronized_valuesxxx"></a><a class="link" href="sds.html#thread.sds.synchronized_valuesxxx" title="Synchronized Values - EXPERIMENTAL">Synchronized Values - EXPERIMENTAL</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.synchronized_value_ref">Reference </a></span></dt> @@ -58,7 +58,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.sds.synchronized_valuesxxx.tutorial"></a><a class="link" href="sds.html#thread.sds.synchronized_valuesxxx.tutorial" title="Tutorial">Tutorial</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.tutorial.the_problem_with_mutexes">The Problem with Mutexes</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.tutorial.beyond_simple_accesses">Beyond @@ -259,7 +259,7 @@ <a name="thread.sds.synchronized_valuesxxx.synchronized_value_ref"></a><a class="link" href="sds.html#thread.sds.synchronized_valuesxxx.synchronized_value_ref" title="Reference">Reference </a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.synchronized_value_ref.synchronized_value">Class <code class="computeroutput"><span class="identifier">synchronized_value</span></code></a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_valuesxxx.synchronized_value_ref.synchronize">Non-Member @@ -382,7 +382,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Lockable</span></code> is <code class="computeroutput"><span class="identifier">Lockable</span></code>. @@ -397,7 +397,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">DefaultConstructible</span></code>. @@ -421,7 +421,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">CopyConstructible</span></code>. @@ -445,7 +445,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">DefaultConstructible</span></code> and <code class="computeroutput"><span class="identifier">Assignable</span></code>. @@ -470,7 +470,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">MoveConstructible</span> </code>. @@ -494,7 +494,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">MoveConstructible</span> </code>. @@ -518,7 +518,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">Assignable</span></code>. @@ -553,7 +553,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">Assignable</span></code>. @@ -583,7 +583,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">CopyConstructible</span></code>. @@ -617,7 +617,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">CopyConstructible</span></code>. @@ -649,7 +649,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">Assignable</span></code>. @@ -674,7 +674,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">T</span></code> is <code class="computeroutput"><span class="identifier">Swapable</span></code>. @@ -703,7 +703,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">strict_lock_ptr</span><span class="special"><>.</span></code> @@ -732,7 +732,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">const_strict_lock_ptr</span> @@ -769,7 +769,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">strict_lock_ptr</span> @@ -791,7 +791,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">const_strict_lock_ptr</span> @@ -812,7 +812,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">an</span> @@ -846,7 +846,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">A</span> <span class="identifier">an</span> @@ -895,7 +895,7 @@ <a name="thread.sds.synchronized_queues"></a><a class="link" href="sds.html#thread.sds.synchronized_queues" title="Synchronized Queues -- EXPERIMENTAL">Synchronized Queues -- EXPERIMENTAL</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues.examples">Examples</a></span></dt> @@ -964,7 +964,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.sds.synchronized_queues.ref"></a><a class="link" href="sds.html#thread.sds.synchronized_queues.ref" title="Reference">Reference</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues.ref.sync_queue_req">Synchronized Queue Model</a></span></dt> <dt><span class="section"><a href="sds.html#thread.sds.synchronized_queues.ref.queue_op_status">Queue @@ -1053,7 +1053,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Throws:</span></dt> <dd><p> Any exception thrown by the internal locking. @@ -1071,7 +1071,7 @@ </p> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Throws:</span></dt> <dd><p> Any exception due to allocation errors. @@ -1098,7 +1098,7 @@ BasicConcurrentQueue requirements if the following expressions are well-formed and have the specified semantics </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Q::value_type </li> @@ -1130,7 +1130,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">q</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">Q</span></code>, @@ -1162,7 +1162,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits until the queue is not full (for bounded queues) and @@ -1201,7 +1201,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits until the queue is not full (for bounded queues) and @@ -1240,7 +1240,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits until the queue is not empty and then pull_front the @@ -1278,7 +1278,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> Q::value_type is no throw move constructible. This is needed @@ -1334,7 +1334,7 @@ and the following expressions are well-formed and have the specified semantics </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">s</span> <span class="special">=</span> <span class="identifier">q</span><span class="special">.</span><span class="identifier">try_push_back</span><span class="special">(</span><span class="identifier">e</span><span class="special">);</span></code> @@ -1351,7 +1351,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">q</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">Q</span></code>, @@ -1383,7 +1383,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue <code class="computeroutput"><span class="identifier">q</span></code> @@ -1435,7 +1435,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue <code class="computeroutput"><span class="identifier">q</span></code> @@ -1486,7 +1486,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue is not empty pulls the element from the queue @@ -1543,7 +1543,7 @@ <p> Non-blocking operations are provided only for lock based queues </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">s</span> <span class="special">=</span> <span class="identifier">q</span><span class="special">.</span><span class="identifier">nonblocking_push_back</span><span class="special">(</span><span class="identifier">nb</span><span class="special">,</span> @@ -1563,7 +1563,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">q</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">Q</span></code>, @@ -1591,7 +1591,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue <code class="computeroutput"><span class="identifier">q</span></code> @@ -1646,7 +1646,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue <code class="computeroutput"><span class="identifier">q</span></code> @@ -1700,7 +1700,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If the queue is not empty pulls the element from the queue @@ -1754,7 +1754,7 @@ <p> Bounded queues add the following valid expressions </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">Q</span> <span class="identifier">q</span><span class="special">(</span><span class="identifier">u</span><span class="special">);</span></code> </li> @@ -1770,7 +1770,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">q</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">Q</span></code>, @@ -1790,7 +1790,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return type:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">bool</span></code>. @@ -1814,7 +1814,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return type:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Q</span><span class="special">::</span><span class="identifier">size_type</span></code>. @@ -1835,7 +1835,7 @@ <p> Closed queues add the following valid expressions </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">q</span><span class="special">.</span><span class="identifier">close</span><span class="special">();</span></code> </li> @@ -1862,7 +1862,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Close the queue. @@ -1876,7 +1876,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return type:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">bool</span></code>. @@ -1895,7 +1895,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits until the queue is not full (for bounded queues) and @@ -1943,7 +1943,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits until the queue is not full (for bounded queues) and @@ -1994,7 +1994,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> if the queue is not empty and not closed, waits until the queue @@ -2199,22 +2199,14 @@ <span class="keyword">void</span> <span class="identifier">push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="keyword">void</span> <span class="identifier">push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="keyword">void</span> <span class="identifier">pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">value_type</span> <span class="identifier">pull</span><span class="special">();</span> - <span class="identifier">queue_op_status</span> <span class="identifier">try_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="identifier">queue_op_status</span> <span class="identifier">try_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">try_pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">wait_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="identifier">queue_op_status</span> <span class="identifier">wait_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">wait_pull_front</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="special">};</span> </pre> @@ -2243,24 +2235,13 @@ <span class="comment">// Modifiers</span> <span class="keyword">void</span> <span class="identifier">close</span><span class="special">();</span> - <span class="keyword">void</span> <span class="identifier">push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="keyword">void</span> <span class="identifier">push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="keyword">void</span> <span class="identifier">pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="identifier">value_type</span> <span class="identifier">pull</span><span class="special">();</span> - <span class="identifier">queue_op_status</span> <span class="identifier">try_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">try_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">try_pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">nonblocking_pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">wait_push</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> - <span class="identifier">queue_op_status</span> <span class="identifier">wait_push</span><span class="special">(</span><span class="identifier">BOOST_THREAD_RV_REF</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">)</span> <span class="identifier">x</span><span class="special">);</span> <span class="identifier">queue_op_status</span> <span class="identifier">wait_pull</span><span class="special">(</span><span class="identifier">value_type</span><span class="special">&</span> <span class="identifier">x</span><span class="special">);</span> <span class="special">};</span> @@ -2362,7 +2343,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a sync_bounded_queue with a maximum number of elements @@ -2385,7 +2366,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a sync_bounded_queue with a maximum number of elements @@ -2510,7 +2491,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an empty sync_queue. @@ -2531,7 +2512,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> false. @@ -2548,7 +2529,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> Moves internal queue. @@ -2591,7 +2572,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/synchronization.html b/doc/html/thread/synchronization.html index 7215e50e33..f6db23708b 100644 --- a/doc/html/thread/synchronization.html +++ b/doc/html/thread/synchronization.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Synchronization</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="ScopedThreads.html" title="Scoped Threads"> <link rel="next" href="thread_local_storage.html" title="Thread Local Storage"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.synchronization"></a><a class="link" href="synchronization.html" title="Synchronization">Synchronization</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts">Mutex Concepts</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_option">Lock Options</a></span></dt> @@ -53,7 +53,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.tutorial"></a><a class="link" href="synchronization.html#thread.synchronization.tutorial" title="Tutorial">Tutorial</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.internal_locking">Internal Locking</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.external_locking_____strict_lock__and__externally_locked__classes">External @@ -81,7 +81,7 @@ <a name="thread.synchronization.tutorial.internal_locking"></a><a class="link" href="synchronization.html#thread.synchronization.tutorial.internal_locking" title="Internal Locking">Internal Locking</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.internal_locking.concurrent_threads_of_execution">Concurrent threads of execution</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.internal_locking.internal_locking">Internal @@ -305,7 +305,7 @@ Notice that the code above doesn't compile, the <code class="computeroutput"><span class="identifier">mtx_</span></code> field is private. We have two possibilities: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> make <code class="computeroutput"><span class="identifier">mtx_</span></code> public which seems odd @@ -378,7 +378,7 @@ Notice that now acct is being locked by Withdraw after it has already been locked by guard. When running such code, one of two things happens. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Your mutex implementation might support the so-called recursive mutex semantics. This means that the same thread can lock the same mutex @@ -447,7 +447,7 @@ Locking -- <code class="computeroutput"><span class="identifier">strict_lock</span></code> and <code class="computeroutput"><span class="identifier">externally_locked</span></code> classes</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.external_locking_____strict_lock__and__externally_locked__classes.locks_as_permits">Locks as permits</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.tutorial.external_locking_____strict_lock__and__externally_locked__classes.improving_external_locking">Improving @@ -473,7 +473,7 @@ <p> So what to do? Ideally, the BankAccount class should do the following: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Support both locking models (internal and external). </li> @@ -548,14 +548,14 @@ as what you can do. Let's see what you can and what you cannot do with a <code class="computeroutput"><span class="identifier">strict_lock</span></code> instantiation: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> You can create a <code class="computeroutput"><span class="identifier">strict_lock</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span></code> only starting from a valid T object. Notice that there is no other way you can create a <code class="computeroutput"><span class="identifier">strict_lock</span><span class="special"><</span><span class="identifier">T</span><span class="special">></span></code>. </li></ul></div> <pre class="programlisting"><span class="identifier">BankAccount</span> <span class="identifier">myAccount</span><span class="special">(</span><span class="string">"John Doe"</span><span class="special">,</span> <span class="string">"123-45-6789"</span><span class="special">);</span> <span class="identifier">strict_lock</span><span class="special"><</span><span class="identifier">BankAccount</span><span class="special">></span> <span class="identifier">myLock</span><span class="special">(</span><span class="identifier">myAccount</span><span class="special">);</span> <span class="comment">// ok</span> </pre> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> You cannot copy <code class="computeroutput"><span class="identifier">strict_lock</span></code>s to one another. In particular, you cannot pass <code class="computeroutput"><span class="identifier">strict_lock</span></code>s by value to functions or have them returned by functions: @@ -563,7 +563,7 @@ <pre class="programlisting"><span class="keyword">extern</span> <span class="identifier">strict_lock</span><span class="special"><</span><span class="identifier">BankAccount</span><span class="special">></span> <span class="identifier">Foo</span><span class="special">();</span> <span class="comment">// compile-time error</span> <span class="keyword">extern</span> <span class="keyword">void</span> <span class="identifier">Bar</span><span class="special">(</span><span class="identifier">strict_lock</span><span class="special"><</span><span class="identifier">BankAccount</span><span class="special">>);</span> <span class="comment">// compile-time error</span> </pre> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> However, you still can pass <code class="computeroutput"><span class="identifier">strict_lock</span></code>s by reference to and from functions: </li></ul></div> @@ -590,7 +590,7 @@ how do we harness its power in defining a safe, flexible interface for BankAccount? The idea is as follows: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Each of BankAccount's interface functions (in our case, Deposit and Withdraw) comes in two overloaded variants. @@ -1118,7 +1118,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.mutex_concepts"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts" title="Mutex Concepts">Mutex Concepts</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable"><code class="computeroutput"><span class="identifier">BasicLockable</span></code> Concept</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.lockable"><code class="computeroutput"><span class="identifier">Lockable</span></code> Concept</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.recursive">Recursive @@ -1146,7 +1146,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_concepts.basic_lockable"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable" title="BasicLockable Concept"><code class="computeroutput"><span class="identifier">BasicLockable</span></code> Concept</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.lock"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">lock</span><span class="special">();</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">();</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.is_basic_lockable"><code class="computeroutput"><span class="identifier">is_basic_lockable</span></code> trait -- EXTENSION</a></span></dt> @@ -1168,7 +1168,7 @@ (<code class="computeroutput"><span class="identifier">m</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span></code>): </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.lock" title="m.lock();"><code class="computeroutput"><span class="identifier">lock</span></code></a><span class="special">();</span></code> </li> @@ -1186,7 +1186,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The calling thread doesn't owns the mutex if the mutex is not recursive. @@ -1243,7 +1243,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The current thread owns <code class="computeroutput"><span class="identifier">m</span></code>. @@ -1307,7 +1307,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_concepts.lockable"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code> Concept</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.lockable.try_lock"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.lockable.is_lockable"><code class="computeroutput"><span class="identifier">is_lockable</span></code> trait -- EXTENSION</a></span></dt> </dl></div> @@ -1325,7 +1325,7 @@ (<code class="computeroutput"><span class="identifier">m</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span></code>): </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable.try_lock" title="m.try_lock()"><code class="computeroutput"><span class="identifier">try_lock</span></code></a><span class="special">()</span></code> </li></ul></div> <p> @@ -1338,7 +1338,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The calling thread doesn't owns the mutex if the mutex is not recursive. @@ -1419,7 +1419,7 @@ <a name="thread.synchronization.mutex_concepts.recursive"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.recursive" title="Recursive Lockable Concept">Recursive Lockable Concept</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.recursive.is_recursive_mutex_sur_parole"><code class="computeroutput"><span class="identifier">is_recursive_mutex_sur_parole</span></code> trait -- EXTENSION</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.recursive.is_recursive_basic_lockable"><code class="computeroutput"><span class="identifier">is_recursive_basic_lockable</span></code> trait -- @@ -1504,7 +1504,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_concepts.timed_lockable"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable" title="TimedLockable Concept"><code class="computeroutput"><span class="identifier">TimedLockable</span></code> Concept</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.try_lock_until"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock_until</span><span class="special">(</span><span class="identifier">abs_time</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.try_lock_for"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock_for</span><span class="special">(</span><span class="identifier">rel_time</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.timed_lock"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">timed_lock</span><span class="special">(</span><span class="identifier">abs_time</span><span class="special">)</span></code></a></span></dt> @@ -1531,7 +1531,7 @@ <p> <span class="bold"><strong>Variables:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span></code>, @@ -1549,7 +1549,7 @@ <p> <span class="bold"><strong>Expressions:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.try_lock_for" title="m.try_lock_for(rel_time)"><code class="computeroutput"><span class="identifier">try_lock_for</span></code></a><span class="special">(</span><span class="identifier">rel_time</span><span class="special">)</span></code> </li> @@ -1567,7 +1567,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The calling thread doesn't owns the mutex if the mutex is not recursive. @@ -1611,7 +1611,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The calling thread doesn't owns the mutex if the mutex is not recursive. @@ -1646,7 +1646,7 @@ <p> <span class="bold"><strong>Variables:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">rel_time</span></code> denotes a value of an instantiation of an unspecified <code class="computeroutput"><span class="identifier">DurationType</span></code> @@ -1661,7 +1661,7 @@ <p> <span class="bold"><strong>Expressions:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.timed_lock_duration" title="m.timed_lock(rel_time)"><code class="computeroutput"><span class="identifier">timed_lock</span></code></a><span class="special">(</span><span class="identifier">rel_time</span><span class="special">)</span></code> </li> @@ -1679,7 +1679,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Attempt to obtain ownership for the current thread. Blocks until @@ -1711,7 +1711,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> As-if <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.timed_lockable.timed_lock" title="m.timed_lock(abs_time)"><code class="computeroutput"><span class="identifier">timed_lock</span><span class="special">(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">get_system_time</span><span class="special">()+</span><span class="identifier">rel_time</span><span class="special">)</span></code></a>. @@ -1724,7 +1724,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_concepts.shared_lockable"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable" title="SharedLockable Concept -- C++14"><code class="computeroutput"><span class="identifier">SharedLockable</span></code> Concept -- C++14</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.lock_shared"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">lock_shared</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.try_lock_shared"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock_shared</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.try_lock_shared_for"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock_shared_for</span><span class="special">(</span><span class="identifier">rel_time</span><span class="special">)</span></code></a></span></dt> @@ -1757,7 +1757,7 @@ <p> <span class="bold"><strong>Variables:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span></code>, @@ -1775,7 +1775,7 @@ <p> <span class="bold"><strong>Expressions:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.lock_shared" title="m.lock_shared()"><code class="computeroutput"><span class="identifier">lock_shared</span><span class="special">()</span></code></a><span class="special">();</span></code> </li> @@ -1804,7 +1804,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The current thread blocks until shared ownership can be obtained @@ -1828,7 +1828,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Attempt to obtain shared ownership for the current thread without @@ -1859,7 +1859,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Attempt to obtain shared ownership for the current thread. Blocks @@ -1892,7 +1892,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Attempt to obtain shared ownership for the current thread. Blocks @@ -1925,7 +1925,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread has shared ownership of <code class="computeroutput"><span class="identifier">m</span></code>. @@ -1964,14 +1964,14 @@ <p> <span class="bold"><strong>Variables:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">abs_time</span></code> denotes a value of an instantiation of <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">system_time</span></code>: </li></ul></div> <p> <span class="bold"><strong>Expressions:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">timed_lock_shared</span><span class="special">(</span><span class="identifier">abs_time</span><span class="special">);</span></code> </li></ul></div> <p> @@ -1984,7 +1984,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Attempt to obtain shared ownership for the current thread. Blocks @@ -2016,7 +2016,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_concepts.upgrade_lockable"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable" title="UpgradeLockable Concept -- EXTENSION"><code class="computeroutput"><span class="identifier">UpgradeLockable</span></code> Concept -- EXTENSION</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable.lock_upgrade"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">lock_upgrade</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable.unlock_upgrade"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock_upgrade</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable.try_lock_upgrade"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">try_lock_upgrade</span><span class="special">()</span></code></a></span></dt> @@ -2080,7 +2080,7 @@ <p> <span class="bold"><strong>Variables:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span></code>, @@ -2098,7 +2098,7 @@ <p> <span class="bold"><strong>Expressions:</strong></span> </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable.lock_upgrade" title="m.lock_upgrade()"><code class="computeroutput"><span class="identifier">lock_upgrade</span></code></a><span class="special">();</span></code> </li> @@ -2140,7 +2140,7 @@ If `BOOST_THREAD_PROVIDES_SHARED_MUTEX_UPWARDS_CONVERSION is defined the following expressions are also required: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.upgrade_lockable.try_unlock_shared_and_lock" title="m.try_unlock_shared_and_lock()"><code class="computeroutput"><span class="identifier">try_unlock_shared_and_lock</span></code></a><span class="special">();</span></code> </li> @@ -2173,7 +2173,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread has no ownership of the mutex. @@ -2206,7 +2206,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread has upgrade ownership of <code class="computeroutput"><span class="identifier">m</span></code>. @@ -2238,7 +2238,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread has no ownership of the mutex. @@ -2278,7 +2278,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread has no ownership of the mutex. @@ -2330,7 +2330,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread has no ownership of the mutex. @@ -2378,7 +2378,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread must hold a shared lock on the mutex. @@ -2427,7 +2427,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold a shared lock on the mutex. @@ -2485,7 +2485,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold a shared lock on the mutex. @@ -2541,7 +2541,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold an exclusive lock on <code class="computeroutput"><span class="identifier">m</span></code>. @@ -2573,7 +2573,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold a shared lock on the mutex. @@ -2621,7 +2621,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold a shared lock on the mutex. @@ -2679,7 +2679,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold a shared lock on the mutex. @@ -2734,7 +2734,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread has exclusive ownership of <code class="computeroutput"><span class="identifier">m</span></code>. @@ -2766,7 +2766,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread has upgrade ownership of <code class="computeroutput"><span class="identifier">m</span></code>. @@ -2799,7 +2799,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold an upgrade lock on the mutex. @@ -2847,7 +2847,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold an upgrade lock on the mutex. @@ -2905,7 +2905,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The calling thread shall hold an upgrade lock on the mutex. @@ -2960,7 +2960,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread has upgrade ownership of <code class="computeroutput"><span class="identifier">m</span></code>. @@ -2992,7 +2992,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.lock_option"></a><a class="link" href="synchronization.html#thread.synchronization.lock_option" title="Lock Options">Lock Options</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_option.lock_tags">Lock +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_option.lock_tags">Lock option tags</a></span></dt></dl></div> <pre class="programlisting"><span class="comment">// #include <boost/thread/locks.hpp> </span> <span class="comment">// #include <boost/thread/locks_options.hpp> </span> @@ -3025,7 +3025,7 @@ These tags are used in scoped locks constructors to specify a specific behavior. </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">defer_lock_t</span></code>: is used to construct the scoped lock without locking it. @@ -3045,7 +3045,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.lock_guard"></a><a class="link" href="synchronization.html#thread.synchronization.lock_guard" title="Lock Guard">Lock Guard</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_guard.lock_guard">Class template <code class="computeroutput"><span class="identifier">lock_guard</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_guard.make_lock_guard">Non @@ -3074,7 +3074,7 @@ <a name="thread.synchronization.lock_guard.lock_guard"></a><a class="link" href="synchronization.html#thread.synchronization.lock_guard.lock_guard" title="Class template lock_guard">Class template <code class="computeroutput"><span class="identifier">lock_guard</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_guard.lock_guard.constructor"><code class="computeroutput"><span class="identifier">lock_guard</span><span class="special">(</span><span class="identifier">Lockable</span> <span class="special">&</span> <span class="identifier">m</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_guard.lock_guard.constructor_adopt"><code class="computeroutput"><span class="identifier">lock_guard</span><span class="special">(</span><span class="identifier">Lockable</span> <span class="special">&</span> @@ -3111,7 +3111,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3131,7 +3131,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread owns a lock on <code class="computeroutput"><span class="identifier">m</span></code> @@ -3155,7 +3155,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock" title="m.unlock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code></a> @@ -3180,7 +3180,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a lock_guard as if initialized with <code class="computeroutput"><span class="special">{</span><span class="identifier">m</span><span class="special">}</span></code>. @@ -3202,7 +3202,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a lock_guard as if initialized with <code class="computeroutput"><span class="special">{</span><span class="identifier">m</span><span class="special">,</span> <span class="identifier">adopt_lock</span><span class="special">}</span></code>. @@ -3219,7 +3219,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.with_lock_guard"></a><a class="link" href="synchronization.html#thread.synchronization.with_lock_guard" title="With Lock Guard">With Lock Guard</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.with_lock_guard.with_lock_guard">Non +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.with_lock_guard.with_lock_guard">Non Member Function <code class="computeroutput"><span class="identifier">with_lock_guard</span></code></a></span></dt></dl></div> <pre class="programlisting"><span class="comment">// #include <boost/thread/with_lock_guard.hpp></span> @@ -3243,7 +3243,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">m</span></code> must be in unlocked @@ -3291,14 +3291,14 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.lock_concepts"></a><a class="link" href="synchronization.html#thread.synchronization.lock_concepts" title="Lock Concepts">Lock Concepts</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_concepts.StrictLock">StrictLock +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_concepts.StrictLock">StrictLock -- EXTENSION</a></span></dt></dl></div> <div class="section"> <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.lock_concepts.StrictLock"></a><a class="link" href="synchronization.html#thread.synchronization.lock_concepts.StrictLock" title="StrictLock -- EXTENSION">StrictLock -- EXTENSION</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_concepts.StrictLock.mutex_type"><code class="computeroutput"><span class="identifier">L</span><span class="special">::</span><span class="identifier">mutex_type</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_concepts.StrictLock.is_strict_lock_sur_parole"><code class="computeroutput"><span class="identifier">is_strict_lock_sur_parole</span><span class="special"><</span><span class="identifier">L</span><span class="special">></span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_concepts.StrictLock.owns_lock"><code class="computeroutput"><span class="identifier">cl</span><span class="special">.</span><span class="identifier">owns_lock</span><span class="special">(</span><span class="identifier">m</span><span class="special">);</span></code></a></span></dt> @@ -3322,7 +3322,7 @@ requirements if the following expressions are well-formed and have the specified semantics </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">L</span><span class="special">::</span><span class="identifier">mutex_type</span></code> </li> @@ -3339,7 +3339,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">cl</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">L</span> <span class="keyword">const</span><span class="special">&</span></code>, @@ -3377,7 +3377,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return Type:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">bool</span></code> @@ -3400,7 +3400,7 @@ <p> The following classes are models of <code class="computeroutput"><span class="identifier">StrictLock</span></code>: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> strict_lock: ensured by construction, </li> @@ -3422,7 +3422,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.locks"></a><a class="link" href="synchronization.html#thread.synchronization.locks" title="Lock Types">Lock Types</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.unique_lock">Class template <code class="computeroutput"><span class="identifier">unique_lock</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.shared_lock">Class template @@ -3463,7 +3463,7 @@ <a name="thread.synchronization.locks.unique_lock"></a><a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock" title="Class template unique_lock">Class template <code class="computeroutput"><span class="identifier">unique_lock</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.unique_lock.defaultconstructor"><code class="computeroutput"><span class="identifier">unique_lock</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.unique_lock.constructor"><code class="computeroutput"><span class="identifier">unique_lock</span><span class="special">(</span><span class="identifier">Lockable</span> <span class="special">&</span> <span class="identifier">m</span><span class="special">)</span></code></a></span></dt> @@ -3605,7 +3605,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Creates a lock object with no associated mutex. @@ -3630,7 +3630,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3656,7 +3656,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread owns an exclusive lock on <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3686,7 +3686,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3711,7 +3711,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3744,7 +3744,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The supplied <code class="computeroutput"><span class="identifier">Mutex</span></code> @@ -3795,7 +3795,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The supplied <code class="computeroutput"><span class="identifier">Mutex</span></code> @@ -3846,7 +3846,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The supplied <code class="computeroutput"><span class="identifier">Mutex</span></code> @@ -3897,7 +3897,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3930,7 +3930,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3962,7 +3962,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -3992,7 +3992,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock.mutex" title="Lockable* mutex() const noexcept"><code class="computeroutput"><span class="identifier">mutex</span><span class="special">()</span></code></a><code class="computeroutput"><span class="special">-></span></code> <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock" title="m.unlock();"><code class="computeroutput"><span class="identifier">unlock</span><span class="special">()</span></code></a> @@ -4012,7 +4012,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if the <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -4032,7 +4032,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> A pointer to the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code></a> object associated @@ -4055,7 +4055,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"> <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock.owns_lock" title="bool owns_lock() const"><code class="computeroutput"><span class="identifier">owns_lock</span><span class="special">()</span></code></a><span class="special">()</span></code>. @@ -4073,7 +4073,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The association between <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> and the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code></a> object is removed, @@ -4111,7 +4111,7 @@ <a name="thread.synchronization.locks.shared_lock"></a><a class="link" href="synchronization.html#thread.synchronization.locks.shared_lock" title="Class template shared_lock - C++14">Class template <code class="computeroutput"><span class="identifier">shared_lock</span></code> - C++14</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.shared_lock.defaultconstructor"><code class="computeroutput"><span class="identifier">shared_lock</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.locks.shared_lock.constructor"><code class="computeroutput"><span class="identifier">shared_lock</span><span class="special">(</span><span class="identifier">Lockable</span> <span class="special">&</span> <span class="identifier">m</span><span class="special">)</span></code></a></span></dt> @@ -4225,7 +4225,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Creates a lock object with no associated mutex. @@ -4250,7 +4250,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4276,7 +4276,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread owns an exclusive lock on <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4306,7 +4306,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4331,7 +4331,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4363,7 +4363,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4394,7 +4394,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock.mutex" title="Lockable* mutex() const noexcept"><code class="computeroutput"><span class="identifier">mutex</span><span class="special">()</span></code></a><code class="computeroutput"><span class="special">-></span></code> <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.unlock_shared" title="m.unlock_shared()"><code class="computeroutput"><span class="identifier">unlock_shared</span><span class="special">()</span></code></a> @@ -4414,7 +4414,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if the <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -4434,7 +4434,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> A pointer to the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code></a> object associated @@ -4457,7 +4457,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <a class="link" href="synchronization.html#thread.synchronization.locks.shared_lock.owns_lock" title="bool owns_lock() const"><code class="computeroutput"><span class="identifier">owns_lock</span><span class="special">()</span></code></a>. @@ -4475,7 +4475,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The association between <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> and the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code></a> object is removed, @@ -4700,7 +4700,7 @@ <a name="thread.synchronization.other_locks"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks" title="Other Lock Types - EXTENSION">Other Lock Types - EXTENSION</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.strict_locks">Strict Locks</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.lock_ptrs">Locking @@ -4717,7 +4717,7 @@ <a name="thread.synchronization.other_locks.strict_locks"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks" title="Strict Locks">Strict Locks</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.strict_locks.strict_lock">Class template <code class="computeroutput"><span class="identifier">strict_lock</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.strict_locks.nested_strict_lock">Class @@ -4787,8 +4787,8 @@ </p> <h6> <a name="thread.synchronization.other_locks.strict_locks.strict_lock.h0"></a> - <span><a name="thread.synchronization.other_locks.strict_locks.strict_lock.see_also__link_linkend__thread_synchronization_lock_guard_lock_guard___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__lock_guard__phrase___code___link_"></a></span><a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks.strict_lock.see_also__link_linkend__thread_synchronization_lock_guard_lock_guard___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__lock_guard__phrase___code___link_">See - also <a class="link" href="synchronization.html#thread.synchronization.lock_guard.lock_guard" title="Class template lock_guard"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lock_guard</span></code></a></a> + <span class="phrase"><a name="thread.synchronization.other_locks.strict_locks.strict_lock.see_also__link_linkend__thread_synchronization_lock_guard_lock_guard___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__lock_guard__phrase___code___link_"></a></span><a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks.strict_lock.see_also__link_linkend__thread_synchronization_lock_guard_lock_guard___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__lock_guard__phrase___code___link_">See + also <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">lock_guard</span></code></a> </h6> <div class="section"> <div class="titlepage"><div><div><h6 class="title"> @@ -4797,7 +4797,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -4816,7 +4816,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock" title="m.unlock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code></a> @@ -4864,8 +4864,8 @@ </p> <h6> <a name="thread.synchronization.other_locks.strict_locks.nested_strict_lock.h0"></a> - <span><a name="thread.synchronization.other_locks.strict_locks.nested_strict_lock.see_also__link_linkend__thread_synchronization_other_locks_strict_locks_strict_lock___code__phrase_role__identifier__strict_lock__phrase___code___link_____link_linkend__thread_synchronization_locks_unique_lock___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__unique_lock__phrase___code___link_"></a></span><a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks.nested_strict_lock.see_also__link_linkend__thread_synchronization_other_locks_strict_locks_strict_lock___code__phrase_role__identifier__strict_lock__phrase___code___link_____link_linkend__thread_synchronization_locks_unique_lock___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__unique_lock__phrase___code___link_">See - also <a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks.strict_lock" title="Class template strict_lock"><code class="computeroutput"><span class="identifier">strict_lock</span></code></a>, <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock" title="Class template unique_lock"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">unique_lock</span></code></a></a> + <span class="phrase"><a name="thread.synchronization.other_locks.strict_locks.nested_strict_lock.see_also__link_linkend__thread_synchronization_other_locks_strict_locks_strict_lock___code__phrase_role__identifier__strict_lock__phrase___code___link_____link_linkend__thread_synchronization_locks_unique_lock___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__unique_lock__phrase___code___link_"></a></span><a class="link" href="synchronization.html#thread.synchronization.other_locks.strict_locks.nested_strict_lock.see_also__link_linkend__thread_synchronization_other_locks_strict_locks_strict_lock___code__phrase_role__identifier__strict_lock__phrase___code___link_____link_linkend__thread_synchronization_locks_unique_lock___code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__unique_lock__phrase___code___link_">See + also <code class="computeroutput"><span class="identifier">strict_lock</span></code>, <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">unique_lock</span></code></a> </h6> <div class="section"> <div class="titlepage"><div><div><h6 class="title"> @@ -4874,7 +4874,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lk</span><span class="special">.</span><span class="identifier">mutex</span><span class="special">()</span> @@ -4909,7 +4909,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Restores ownership to the nesting lock. @@ -4926,7 +4926,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> Whether if this lock is locking that mutex. @@ -4945,7 +4945,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a strict_lock as if initialized with <code class="computeroutput"><span class="special">{</span><span class="identifier">m</span><span class="special">}</span></code>. @@ -4967,7 +4967,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a nested_strict_lock as if initialized with <code class="computeroutput"><span class="special">{</span><span class="identifier">lk</span><span class="special">}</span></code>. @@ -4985,7 +4985,7 @@ <a name="thread.synchronization.other_locks.lock_ptrs"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks.lock_ptrs" title="Locking pointers">Locking pointers</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.lock_ptrs.const_strict_lock_ptr">Class template <code class="computeroutput"><span class="identifier">const_strict_lock_ptr</span> </code></a></span></dt> @@ -5042,7 +5042,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.lock" title="m.lock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">lock</span><span class="special">()</span></code></a>, @@ -5063,7 +5063,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to it and to the value type <code class="computeroutput"><span class="identifier">val</span></code>. @@ -5083,7 +5083,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock" title="m.unlock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code></a> @@ -5106,7 +5106,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> return a constant pointer to the protected value. @@ -5127,7 +5127,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> return a constant reference to the protected value. @@ -5172,7 +5172,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.lock" title="m.lock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">lock</span><span class="special">()</span></code></a>, @@ -5193,7 +5193,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to it and to the value type <code class="computeroutput"><span class="identifier">val</span></code>. @@ -5213,7 +5213,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.unlock" title="m.unlock();"><code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code></a> @@ -5235,7 +5235,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> return a pointer to the protected value. @@ -5255,7 +5255,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> return a reference to the protected value. @@ -5274,7 +5274,7 @@ <a name="thread.synchronization.other_locks.externally_locked"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks.externally_locked" title="Externally Locked">Externally Locked</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.externally_locked.externally_locked">Template Class <code class="computeroutput"><span class="identifier">externally_locked</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.externally_locked.externally_locked_ref">Template @@ -5357,7 +5357,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of CopyConstructible. @@ -5382,7 +5382,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Movable. @@ -5407,7 +5407,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of DefaultConstructible. @@ -5432,7 +5432,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Movable. @@ -5457,7 +5457,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Copyable. @@ -5482,7 +5482,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Movable. @@ -5507,7 +5507,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Copyable. @@ -5533,7 +5533,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The <code class="computeroutput"><span class="identifier">lk</span></code> parameter @@ -5563,7 +5563,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mutex_type</span><span class="special">,</span> @@ -5594,7 +5594,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Lock</span></code> is a model @@ -5681,7 +5681,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an externally locked object copying the cloaked reference. @@ -5697,7 +5697,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Moves an externally locked object by moving the cloaked type @@ -5714,7 +5714,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Move assigns an externally locked object by copying the cloaked @@ -5731,7 +5731,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> T is a model of Copyable. @@ -5757,7 +5757,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The <code class="computeroutput"><span class="identifier">lk</span></code> parameter @@ -5787,7 +5787,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">is_same</span><span class="special"><</span><span class="identifier">mutex_type</span><span class="special">,</span> @@ -5818,7 +5818,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Lock</span></code> is a model @@ -5855,7 +5855,7 @@ <a name="thread.synchronization.other_locks.shared_lock_guard"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks.shared_lock_guard" title="Class template shared_lock_guard">Class template <code class="computeroutput"><span class="identifier">shared_lock_guard</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.shared_lock_guard.constructor"><code class="computeroutput"><span class="identifier">shared_lock_guard</span><span class="special">(</span><span class="identifier">SharedLockable</span> <span class="special">&</span> <span class="identifier">m</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.shared_lock_guard.constructor_adopt"><code class="computeroutput"><span class="identifier">shared_lock_guard</span><span class="special">(</span><span class="identifier">SharedLockable</span> <span class="special">&</span> @@ -5895,7 +5895,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -5915,7 +5915,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The current thread owns a lock on <code class="computeroutput"><span class="identifier">m</span></code> @@ -5939,7 +5939,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invokes <code class="computeroutput"><span class="identifier">m</span><span class="special">.</span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable.unlock_shared" title="m.unlock_shared()"><code class="computeroutput"><span class="identifier">unlock_shared</span><span class="special">()</span></code></a><span class="special">()</span></code> on the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.shared_lockable" title="SharedLockable Concept -- C++14"><code class="computeroutput"><span class="identifier">SharedLockable</span></code></a> object @@ -5958,7 +5958,7 @@ <a name="thread.synchronization.other_locks.reverse_lock"></a><a class="link" href="synchronization.html#thread.synchronization.other_locks.reverse_lock" title="Class template reverse_lock">Class template <code class="computeroutput"><span class="identifier">reverse_lock</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.reverse_lock.constructor"><code class="computeroutput"><span class="identifier">reverse_lock</span><span class="special">(</span><span class="identifier">Lock</span> <span class="special">&</span> <span class="identifier">m</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.other_locks.reverse_lock.destructor"><code class="computeroutput"><span class="special">~</span><span class="identifier">reverse_lock</span><span class="special">()</span></code></a></span></dt> @@ -5996,7 +5996,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores a reference to <code class="computeroutput"><span class="identifier">m</span></code>. @@ -6022,7 +6022,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Let be mtx the stored mutex*. If not 0 Invokes <code class="computeroutput"><span class="identifier">mtx</span><span class="special">-></span><a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.basic_lockable.lock" title="m.lock();"><code class="computeroutput"><span class="identifier">lock</span></code></a><span class="special">()</span></code> @@ -6050,7 +6050,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.lock_functions"></a><a class="link" href="synchronization.html#thread.synchronization.lock_functions" title="Lock functions">Lock functions</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_functions.lock_multiple">Non-member function <code class="computeroutput"><span class="identifier">lock</span><span class="special">(</span><span class="identifier">Lockable1</span><span class="special">,</span><span class="identifier">Lockable2</span><span class="special">,...)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_functions.lock_range">Non-member @@ -6088,7 +6088,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Locks the <a class="link" href="synchronization.html#thread.synchronization.mutex_concepts.lockable" title="Lockable Concept"><code class="computeroutput"><span class="identifier">Lockable</span></code></a> objects supplied @@ -6126,7 +6126,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The <code class="computeroutput"><span class="identifier">value_type</span></code> of @@ -6178,7 +6178,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -6228,7 +6228,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The <code class="computeroutput"><span class="identifier">value_type</span></code> of @@ -6280,7 +6280,7 @@ <a name="thread.synchronization.lock_factories"></a><a class="link" href="synchronization.html#thread.synchronization.lock_factories" title="Lock Factories - EXTENSION">Lock Factories - EXTENSION</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_factories.make_unique_lock">Non Member Function <code class="computeroutput"><span class="identifier">make_unique_lock</span><span class="special">(</span><span class="identifier">Lockable</span><span class="special">&)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.lock_factories.make_unique_lock_t">Non @@ -6317,7 +6317,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock" title="Class template unique_lock"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">unique_lock</span></code></a> as if initialized @@ -6346,7 +6346,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> a <a class="link" href="synchronization.html#thread.synchronization.locks.unique_lock" title="Class template unique_lock"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">unique_lock</span></code></a> as if initialized @@ -6370,7 +6370,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effect:</span></dt> <dd><p> Locks all the mutexes. @@ -6392,7 +6392,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.mutex_types"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_types" title="Mutex Types">Mutex Types</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.mutex">Class <code class="computeroutput"><span class="identifier">mutex</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.try_mutex">Typedef <code class="computeroutput"><span class="identifier">try_mutex</span></code></a></span></dt> @@ -6415,7 +6415,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.mutex_types.mutex"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_types.mutex" title="Class mutex">Class <code class="computeroutput"><span class="identifier">mutex</span></code></a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.mutex.nativehandle">Member +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.mutex.nativehandle">Member function <code class="computeroutput"><span class="identifier">native_handle</span><span class="special">()</span></code></a></span></dt></dl></div> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">thread</span><span class="special">/</span><span class="identifier">mutex</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> @@ -6456,7 +6456,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -6493,7 +6493,7 @@ <a name="thread.synchronization.mutex_types.timed_mutex"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_types.timed_mutex" title="Class timed_mutex">Class <code class="computeroutput"><span class="identifier">timed_mutex</span></code></a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.timed_mutex.nativehandle">Member +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.timed_mutex.nativehandle">Member function <code class="computeroutput"><span class="identifier">native_handle</span><span class="special">()</span></code></a></span></dt></dl></div> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">thread</span><span class="special">/</span><span class="identifier">mutex</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> @@ -6549,7 +6549,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -6571,7 +6571,7 @@ <a name="thread.synchronization.mutex_types.recursive_mutex"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_types.recursive_mutex" title="Class recursive_mutex">Class <code class="computeroutput"><span class="identifier">recursive_mutex</span></code></a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.recursive_mutex.nativehandle">Member +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.recursive_mutex.nativehandle">Member function <code class="computeroutput"><span class="identifier">native_handle</span><span class="special">()</span></code></a></span></dt></dl></div> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">thread</span><span class="special">/</span><span class="identifier">recursive_mutex</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> @@ -6619,7 +6619,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -6655,7 +6655,7 @@ <a name="thread.synchronization.mutex_types.recursive_timed_mutex"></a><a class="link" href="synchronization.html#thread.synchronization.mutex_types.recursive_timed_mutex" title="Class recursive_timed_mutex">Class <code class="computeroutput"><span class="identifier">recursive_timed_mutex</span></code></a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.recursive_timed_mutex.nativehandle">Member +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.mutex_types.recursive_timed_mutex.nativehandle">Member function <code class="computeroutput"><span class="identifier">native_handle</span><span class="special">()</span></code></a></span></dt></dl></div> <pre class="programlisting"><span class="preprocessor">#include</span> <span class="special"><</span><span class="identifier">boost</span><span class="special">/</span><span class="identifier">thread</span><span class="special">/</span><span class="identifier">recursive_mutex</span><span class="special">.</span><span class="identifier">hpp</span><span class="special">></span> @@ -6721,7 +6721,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -6996,7 +6996,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.condvar_ref"></a><a class="link" href="synchronization.html#thread.synchronization.condvar_ref" title="Condition Variables">Condition Variables</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable">Class <code class="computeroutput"><span class="identifier">condition_variable</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable_any">Class @@ -7008,7 +7008,7 @@ </dl></div> <h5> <a name="thread.synchronization.condvar_ref.h0"></a> - <span><a name="thread.synchronization.condvar_ref.synopsis"></a></span><a class="link" href="synchronization.html#thread.synchronization.condvar_ref.synopsis">Synopsis</a> + <span class="phrase"><a name="thread.synchronization.condvar_ref.synopsis"></a></span><a class="link" href="synchronization.html#thread.synchronization.condvar_ref.synopsis">Synopsis</a> </h5> <pre class="programlisting"><span class="keyword">namespace</span> <span class="identifier">boost</span> <span class="special">{</span> @@ -7103,7 +7103,7 @@ <a name="thread.synchronization.condvar_ref.condition_variable"></a><a class="link" href="synchronization.html#thread.synchronization.condvar_ref.condition_variable" title="Class condition_variable">Class <code class="computeroutput"><span class="identifier">condition_variable</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable.constructor"><code class="computeroutput"><span class="identifier">condition_variable</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable.destructor"><code class="computeroutput"><span class="special">~</span><span class="identifier">condition_variable</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable.notify_one"><code class="computeroutput"><span class="keyword">void</span> <span class="identifier">notify_one</span><span class="special">()</span></code></a></span></dt> @@ -7203,7 +7203,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an object of class <code class="computeroutput"><span class="identifier">condition_variable</span></code>. @@ -7222,7 +7222,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> All threads waiting on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> have been notified by a call @@ -7249,7 +7249,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If any threads are currently <span class="emphasis"><em>blocked</em></span> waiting @@ -7271,7 +7271,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If any threads are currently <span class="emphasis"><em>blocked</em></span> waiting @@ -7293,7 +7293,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lock</span></code> is locked @@ -7340,7 +7340,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -7365,7 +7365,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lock</span></code> is locked @@ -7420,7 +7420,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lock</span></code> is locked @@ -7485,7 +7485,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -7514,7 +7514,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lock</span></code> is locked @@ -7570,7 +7570,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lock</span></code> is locked @@ -7638,7 +7638,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -7668,7 +7668,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -7688,7 +7688,7 @@ <a name="thread.synchronization.condvar_ref.condition_variable_any"></a><a class="link" href="synchronization.html#thread.synchronization.condvar_ref.condition_variable_any" title="Class condition_variable_any">Class <code class="computeroutput"><span class="identifier">condition_variable_any</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable_any.constructor"><code class="computeroutput"><span class="identifier">condition_variable_any</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable_any.destructor"><code class="computeroutput"><span class="special">~</span><span class="identifier">condition_variable_any</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.condvar_ref.condition_variable_any.notify_one"><code class="computeroutput"><span class="keyword">void</span> <span class="identifier">notify_one</span><span class="special">()</span></code></a></span></dt> @@ -7791,7 +7791,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an object of class <code class="computeroutput"><span class="identifier">condition_variable_any</span></code>. @@ -7810,7 +7810,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> All threads waiting on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> have been notified by a call @@ -7837,7 +7837,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If any threads are currently <span class="emphasis"><em>blocked</em></span> waiting @@ -7859,7 +7859,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If any threads are currently <span class="emphasis"><em>blocked</em></span> waiting @@ -7882,7 +7882,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Atomically call <code class="computeroutput"><span class="identifier">lock</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code> and blocks the current thread. @@ -7917,7 +7917,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -7941,7 +7941,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Atomically call <code class="computeroutput"><span class="identifier">lock</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code> and blocks the current thread. @@ -7986,7 +7986,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Atomically call <code class="computeroutput"><span class="identifier">lock</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code> and blocks the current thread. @@ -8040,7 +8040,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -8070,7 +8070,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Atomically call <code class="computeroutput"><span class="identifier">lock</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code> and blocks the current thread. @@ -8115,7 +8115,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Atomically call <code class="computeroutput"><span class="identifier">lock</span><span class="special">.</span><span class="identifier">unlock</span><span class="special">()</span></code> and blocks the current thread. @@ -8170,7 +8170,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -8200,7 +8200,7 @@ </h5></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -8247,7 +8247,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">lk</span></code> is locked by the @@ -8281,7 +8281,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.once"></a><a class="link" href="synchronization.html#thread.synchronization.once" title="One-time Initialization">One-time Initialization</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.once.once_flag">Typedef <code class="computeroutput"><span class="identifier">once_flag</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.once.call_once">Non-member function <code class="computeroutput"><span class="identifier">call_once</span></code></a></span></dt> @@ -8360,7 +8360,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Function</span></code> and each @@ -8433,7 +8433,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.barriers"></a><a class="link" href="synchronization.html#thread.synchronization.barriers" title="Barriers -- EXTENSION">Barriers -- EXTENSION</a> </h3></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.barriers.barrier">Class <code class="computeroutput"><span class="identifier">barrier</span></code></a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.barriers.barrier">Class <code class="computeroutput"><span class="identifier">barrier</span></code></a></span></dt></dl></div> <p> A barrier is a simple concept. Also known as a <span class="emphasis"><em>rendezvous</em></span>, it is a synchronization point between multiple threads. The barrier is configured @@ -8447,7 +8447,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.barriers.barrier"></a><a class="link" href="synchronization.html#thread.synchronization.barriers.barrier" title="Class barrier">Class <code class="computeroutput"><span class="identifier">barrier</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.barriers.barrier.constructor__barrier_unsigned_int__">Constructor <code class="computeroutput"><span class="identifier">barrier</span><span class="special">(</span><span class="keyword">unsigned</span> <span class="keyword">int</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.barriers.barrier.constructor__barrier_unsigned_int__f____">Constructor @@ -8489,7 +8489,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Construct a barrier for <code class="computeroutput"><span class="identifier">count</span></code> @@ -8512,7 +8512,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The result type of the completion function call <code class="computeroutput"><span class="identifier">completion</span><span class="special">()</span></code> is <code class="computeroutput"><span class="keyword">void</span></code> @@ -8540,7 +8540,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> No threads are waiting on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -8565,7 +8565,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Block until <code class="computeroutput"><span class="identifier">count</span></code> @@ -8617,7 +8617,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Block until <code class="computeroutput"><span class="identifier">count</span></code> @@ -8660,7 +8660,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.latches"></a><a class="link" href="synchronization.html#thread.synchronization.latches" title="Latches -- EXPERIMENTAL">Latches -- EXPERIMENTAL</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.latches.introdcution">Introdcution</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.latches.examples">Examples</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.latches.latch">Class <code class="computeroutput"><span class="identifier">latch</span></code></a></span></dt> @@ -8681,7 +8681,7 @@ <p> Sample use cases for the latch include: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Setting multiple threads to perform a task, and then waiting until all threads have reached a common point. @@ -8736,7 +8736,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.latches.latch"></a><a class="link" href="synchronization.html#thread.synchronization.latches.latch" title="Class latch">Class <code class="computeroutput"><span class="identifier">latch</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.latches.latch.constructor__latch_std__size_t__">Constructor <code class="computeroutput"><span class="identifier">latch</span><span class="special">(</span><span class="identifier">std</span><span class="special">::</span><span class="identifier">size_t</span><span class="special">)</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.latches.latch.destructor___latch___">Destructor @@ -8796,7 +8796,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Construct a latch with is initial value for the internal counter. @@ -8821,7 +8821,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> No threads are waiting or invoking count_down on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -8847,7 +8847,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Block the calling thread until the internal count reaches the value @@ -8883,7 +8883,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> Returns true if the internal count is 0, and false otherwise. Does @@ -8908,7 +8908,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Block the calling thread until the internal count reaches the value @@ -8951,7 +8951,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Block the calling thread until the internal count reaches the value @@ -8993,7 +8993,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The internal counter is non zero. @@ -9033,7 +9033,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> The internal counter is non zero. @@ -9077,7 +9077,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> This function may only be invoked when there are no other threads @@ -9105,7 +9105,7 @@ <a name="thread.synchronization.executors"></a><a class="link" href="synchronization.html#thread.synchronization.executors" title="Executors and Schedulers -- EXPERIMENTAL">Executors and Schedulers -- EXPERIMENTAL</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.introduction">Introduction</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.examples">Examples</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.rationale">Design @@ -9266,7 +9266,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.executors.examples"></a><a class="link" href="synchronization.html#thread.synchronization.executors.examples" title="Examples">Examples</a> </h4></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.examples.quick_sort">Parallel +<div class="toc"><dl class="toc"><dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.examples.quick_sort">Parallel Quick Sort</a></span></dt></dl></div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> @@ -9350,7 +9350,7 @@ to it, usually asynchronously. There could be multiple models of the Executor class. Some specific design notes: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Thread pools are well know models of the Executor concept, and this library does indeed include a basic_thread_pool class, but other implementations @@ -9394,7 +9394,7 @@ </ul></div> <h6> <a name="thread.synchronization.executors.rationale.h0"></a> - <span><a name="thread.synchronization.executors.rationale.closure"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.closure">Closure</a> + <span class="phrase"><a name="thread.synchronization.executors.rationale.closure"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.closure">Closure</a> </h6> <p> One important question is just what a closure is. This library has a very @@ -9442,7 +9442,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h1"></a> - <span><a name="thread.synchronization.executors.rationale.scheduled_work"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.scheduled_work">Scheduled + <span class="phrase"><a name="thread.synchronization.executors.rationale.scheduled_work"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.scheduled_work">Scheduled work</a> </h6> <p> @@ -9469,7 +9469,7 @@ <p> This has several advantages: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> The scheduled operations are available for all the executors via wrappers. </li> @@ -9487,7 +9487,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h2"></a> - <span><a name="thread.synchronization.executors.rationale.not_handled_exceptions"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.not_handled_exceptions">Not + <span class="phrase"><a name="thread.synchronization.executors.rationale.not_handled_exceptions"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.not_handled_exceptions">Not Handled Exceptions</a> </h6> <p> @@ -9500,7 +9500,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h3"></a> - <span><a name="thread.synchronization.executors.rationale.at_thread_entry"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.at_thread_entry">At + <span class="phrase"><a name="thread.synchronization.executors.rationale.at_thread_entry"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.at_thread_entry">At thread entry</a> </h6> <p> @@ -9517,7 +9517,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h4"></a> - <span><a name="thread.synchronization.executors.rationale.cancelation"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.cancelation">Cancelation</a> + <span class="phrase"><a name="thread.synchronization.executors.rationale.cancelation"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.cancelation">Cancelation</a> </h6> <p> The library does not provision yet for the ability to cancel/interrupt @@ -9537,7 +9537,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h5"></a> - <span><a name="thread.synchronization.executors.rationale.current_executor"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.current_executor">Current + <span class="phrase"><a name="thread.synchronization.executors.rationale.current_executor"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.current_executor">Current executor</a> </h6> <p> @@ -9563,7 +9563,7 @@ </p> <h6> <a name="thread.synchronization.executors.rationale.h6"></a> - <span><a name="thread.synchronization.executors.rationale.default_executor"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.default_executor">Default + <span class="phrase"><a name="thread.synchronization.executors.rationale.default_executor"></a></span><a class="link" href="synchronization.html#thread.synchronization.executors.rationale.default_executor">Default executor</a> </h6> <p> @@ -9586,7 +9586,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.executors.ref"></a><a class="link" href="synchronization.html#thread.synchronization.executors.ref" title="Reference">Reference</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.ref.concept_closure">Concept <code class="computeroutput"><span class="identifier">Closure</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.executors.ref.concept_executor">Concept @@ -9644,7 +9644,7 @@ A type <code class="computeroutput"><span class="identifier">E</span></code> meets the <code class="computeroutput"><span class="identifier">Executor</span></code> requirements if the following expressions are well-formed and have the specified semantics </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">e</span><span class="special">.</span><span class="identifier">submit</span><span class="special">(</span><span class="identifier">lc</span><span class="special">);</span></code> </li> @@ -9668,7 +9668,7 @@ <p> where </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">e</span></code> denotes a value of type <code class="computeroutput"><span class="identifier">E</span></code>, @@ -9692,7 +9692,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The specified closure will be scheduled for execution at some @@ -9726,7 +9726,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The specified closure will be scheduled for execution at some @@ -9760,7 +9760,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> close the executor <code class="computeroutput"><span class="identifier">e</span></code> @@ -9793,7 +9793,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return type:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">bool</span></code>. @@ -9816,7 +9816,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> try to execute one work. @@ -9847,7 +9847,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> This must be called from a scheduled work @@ -9885,7 +9885,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> work is a model of 'Closure' @@ -9937,7 +9937,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an executor. @@ -9958,7 +9958,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the executor. @@ -10019,7 +10019,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an executor_adaptor. @@ -10040,7 +10040,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the executor_adaptor. @@ -10062,7 +10062,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying executor instance. @@ -10157,7 +10157,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">scheduler</span></code>. @@ -10178,7 +10178,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the scheduler. @@ -10201,7 +10201,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Schedule a <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10224,7 +10224,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Schedule a <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10289,7 +10289,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">at_executor</span></code>. @@ -10310,7 +10310,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the <code class="computeroutput"><span class="identifier">at_executor</span></code>. @@ -10332,7 +10332,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying scheduler instance. @@ -10350,7 +10350,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Schedule the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10374,7 +10374,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Schedule a <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10397,7 +10397,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Schedule a <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10465,7 +10465,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">scheduler_executor_wrapper</span></code>. @@ -10486,7 +10486,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the <code class="computeroutput"><span class="identifier">scheduler_executor_wrapper</span></code>. @@ -10508,7 +10508,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying scheduler instance. @@ -10525,7 +10525,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying executor instance. @@ -10543,7 +10543,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Submit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10566,7 +10566,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Resubmit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10589,7 +10589,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Resubmit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10659,7 +10659,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <code class="computeroutput"><span class="identifier">resubmit_at_executor</span></code>. @@ -10680,7 +10680,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the executor_adaptor. @@ -10702,7 +10702,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying executor instance. @@ -10719,7 +10719,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying scheduler instance. @@ -10737,7 +10737,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Resubmit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10761,7 +10761,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Resubmit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10784,7 +10784,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Resubmit the <code class="computeroutput"><span class="identifier">closure</span></code> @@ -10844,7 +10844,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a serial_executor. @@ -10865,7 +10865,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the serial_executor. @@ -10887,7 +10887,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying executor instance. @@ -10945,7 +10945,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a serial_executor. @@ -10966,7 +10966,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the serial_executor. @@ -10988,7 +10988,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> The underlying executor instance. @@ -11038,7 +11038,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an inline_executor. @@ -11059,7 +11059,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the inline_executor. @@ -11116,7 +11116,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> creates a thread pool that runs closures on <code class="computeroutput"><span class="identifier">thread_count</span></code> @@ -11138,7 +11138,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the thread pool. @@ -11190,7 +11190,7 @@ </h6></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> creates a thread_executor. @@ -11211,7 +11211,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Waits for closures (if any) to complete, then joins and destroys @@ -11270,7 +11270,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> creates an executor that runs closures using one of its closure-executing @@ -11292,7 +11292,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys the executor. @@ -11314,7 +11314,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> reschedule works until <code class="computeroutput"><span class="identifier">closed</span><span class="special">()</span></code> or empty. @@ -11336,7 +11336,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Return:</span></dt> <dd><p> reschedule the enqueued works. @@ -11356,7 +11356,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.synchronization.futures"></a><a class="link" href="synchronization.html#thread.synchronization.futures" title="Futures">Futures</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.overview">Overview</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.creating">Creating asynchronous values</a></span></dt> @@ -11646,7 +11646,7 @@ </p> <h6> <a name="thread.synchronization.futures.shared.h0"></a> - <span><a name="thread.synchronization.futures.shared.multiple_get"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.multiple_get">Multiple get</a> + <span class="phrase"><a name="thread.synchronization.futures.shared.multiple_get"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.multiple_get">Multiple get</a> </h6> <p> The second <code class="computeroutput"><span class="identifier">get</span><span class="special">()</span></code> @@ -11684,7 +11684,7 @@ </pre> <h6> <a name="thread.synchronization.futures.shared.h1"></a> - <span><a name="thread.synchronization.futures.shared.share__"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.share__">share()</a> + <span class="phrase"><a name="thread.synchronization.futures.shared.share__"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.share__">share()</a> </h6> <p> Naming the return type when declaring the <code class="computeroutput"><span class="identifier">shared_future</span></code> @@ -11707,7 +11707,7 @@ </pre> <h6> <a name="thread.synchronization.futures.shared.h2"></a> - <span><a name="thread.synchronization.futures.shared.writing_on_get__"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.writing_on_get__">Writing + <span class="phrase"><a name="thread.synchronization.futures.shared.writing_on_get__"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.shared.writing_on_get__">Writing on get()</a> </h6> <p> @@ -11761,7 +11761,7 @@ </p> <h6> <a name="thread.synchronization.futures.make_ready_future.h0"></a> - <span><a name="thread.synchronization.futures.make_ready_future.make_ready_future"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.make_ready_future.make_ready_future">make_ready_future</a> + <span class="phrase"><a name="thread.synchronization.futures.make_ready_future.make_ready_future"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.make_ready_future.make_ready_future">make_ready_future</a> </h6> <p> This function creates a future for a given value. If no value is given @@ -11839,7 +11839,7 @@ <p> Some points to note are: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Each continuation will not begin until the preceding has completed. </li> @@ -11851,7 +11851,7 @@ <p> Input Parameters: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> Lambda function: One option which can be considered is to take two functions, one for success and one for error handling. However this @@ -11887,7 +11887,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.synchronization.futures.reference"></a><a class="link" href="synchronization.html#thread.synchronization.futures.reference" title="Futures Reference">Futures Reference</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.future_state">Enumeration <code class="computeroutput"><span class="identifier">state</span></code></a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.future_errc">Enumeration @@ -11930,8 +11930,8 @@ - EXTENSION</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.make_ready_future">Non-member function <code class="computeroutput"><span class="identifier">make_ready_future</span><span class="special">()</span></code> EXTENSION</a></span></dt> -<dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.make_exceptional">Non-member - function <code class="computeroutput"><span class="identifier">make_exceptional</span><span class="special">()</span></code> EXTENSION</a></span></dt> +<dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.make_exceptional_future">Non-member + function <code class="computeroutput"><span class="identifier">make_exceptional_future</span><span class="special">()</span></code> EXTENSION</a></span></dt> <dt><span class="section"><a href="synchronization.html#thread.synchronization.futures.reference.make_future">Non-member function <code class="computeroutput"><span class="identifier">make_future</span><span class="special">()</span></code> DEPRECATED</a></span></dt> @@ -12055,10 +12055,10 @@ <span class="identifier">future</span><span class="special"><</span><span class="keyword">typename</span> <span class="identifier">decay</span><span class="special"><</span><span class="identifier">T</span><span class="special">>::</span><span class="identifier">type</span><span class="special">></span> <span class="identifier">make_ready_future</span><span class="special">(</span><span class="identifier">T</span><span class="special">&&</span> <span class="identifier">value</span><span class="special">);</span> <span class="comment">// EXTENSION</span> <span class="identifier">future</span><span class="special"><</span><span class="keyword">void</span><span class="special">></span> <span class="identifier">make_ready_future</span><span class="special">();</span> <span class="comment">// EXTENSION</span> - <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">(</span><span class="identifier">exception_ptr</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> + <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">(</span><span class="identifier">exception_ptr</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">E</span><span class="special">></span> - <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">(</span><span class="identifier">E</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> - <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">();</span> <span class="comment">// EXTENSION</span> + <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">(</span><span class="identifier">E</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> + <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">();</span> <span class="comment">// EXTENSION</span> <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">T</span><span class="special">></span> @@ -12165,7 +12165,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">error_code</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="identifier">e</span><span class="special">),</span> @@ -12186,7 +12186,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">error_condition</span><span class="special">(</span><span class="keyword">static_cast</span><span class="special"><</span><span class="keyword">int</span><span class="special">>(</span><span class="identifier">e</span><span class="special">),</span> <span class="identifier">future_category</span><span class="special">())</span></code>. @@ -12203,7 +12203,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> A reference to an object of a type derived from class error_category. @@ -12241,7 +12241,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a future_error. @@ -12266,7 +12266,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The value of <code class="computeroutput"><span class="identifier">ec</span></code> @@ -12311,7 +12311,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The exception that is passed in to the constructor or the current @@ -12354,7 +12354,7 @@ <span class="comment">// move support</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a> <span class="special">&&</span> <span class="identifier">other</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> - <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span><span class="identifier">R</span><span class="special">>>&&</span> <span class="identifier">rhs</span><span class="special">);</span> <span class="comment">// EXTENSION</span> + <span class="keyword">explicit</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span><span class="identifier">R</span><span class="special">>>&&</span> <span class="identifier">rhs</span><span class="special">);</span> <span class="comment">// EXTENSION</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">&</span> <span class="keyword">operator</span><span class="special">=(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a> <span class="special">&&</span> <span class="identifier">other</span><span class="special">)</span> <span class="keyword">noexcept</span><span class="special">;</span> <span class="comment">// factories</span> @@ -12412,7 +12412,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an uninitialized <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a>. @@ -12437,7 +12437,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -12458,7 +12458,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a new <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a>, and transfers @@ -12491,7 +12491,7 @@ <a name="thread.synchronization.futures.reference.unique_future.unwrap_move_constructor"></a><a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future.unwrap_move_constructor" title="Unwrap Move Constructor - EXTENSION">Unwrap Move Constructor - EXTENSION</a> </h6></div></div></div> -<pre class="programlisting"> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span><span class="identifier">R</span><span class="special">>>&&</span> <span class="identifier">other</span><span class="special">);</span> <span class="comment">// EXTENSION</span> +<pre class="programlisting"><span class="keyword">explicit</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special">(</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span> <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a><span class="special"><</span><span class="identifier">R</span><span class="special">>>&&</span> <span class="identifier">other</span><span class="special">);</span> <span class="comment">// EXTENSION</span> </pre> <div class="warning"><table border="0" summary="Warning"> <tr> @@ -12506,7 +12506,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd> <p> @@ -12552,7 +12552,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the shared state associated with <code class="computeroutput"><span class="identifier">other</span></code> to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -12589,7 +12589,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Swaps ownership of the shared states associated with <code class="computeroutput"><span class="identifier">other</span></code> and <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -12624,7 +12624,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -12701,7 +12701,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -12756,7 +12756,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -12820,7 +12820,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -12894,7 +12894,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -12953,7 +12953,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13024,7 +13024,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13093,7 +13093,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13122,7 +13122,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13153,7 +13153,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13182,7 +13182,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13211,7 +13211,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13246,7 +13246,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Determine the state of the shared state associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>, @@ -13279,7 +13279,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">shared_future</span><span class="special"><</span><span class="identifier">R</span><span class="special">>(</span><span class="identifier">boost</span><span class="special">::</span><span class="identifier">move</span><span class="special">(*</span><span class="keyword">this</span><span class="special">))</span></code>. @@ -13332,7 +13332,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Notes:</span></dt> <dd><p> The three functions differ only by input parameters. The first @@ -13477,7 +13477,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Notes:</span></dt> <dd><p> Removes the outermost future and returns a future with the associated @@ -13580,7 +13580,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs an uninitialized shared_future. @@ -13608,7 +13608,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13659,7 +13659,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13708,7 +13708,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13767,7 +13767,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13826,7 +13826,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13897,7 +13897,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13966,7 +13966,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -13990,7 +13990,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -14015,7 +14015,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -14039,7 +14039,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -14063,7 +14063,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -14093,7 +14093,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Determine the state of the shared state associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>, @@ -14153,7 +14153,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Notes:</span></dt> <dd><p> The three functions differ only by input parameters. The first @@ -14315,7 +14315,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a new <a class="link" href="synchronization.html#thread.synchronization.futures.reference.promise" title="promise class template"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">promise</span></code></a> with no associated @@ -14338,7 +14338,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a new <a class="link" href="synchronization.html#thread.synchronization.futures.reference.promise" title="promise class template"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">promise</span></code></a> with no associated @@ -14364,7 +14364,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a new <a class="link" href="synchronization.html#thread.synchronization.futures.reference.promise" title="promise class template"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">promise</span></code></a>, and transfers @@ -14394,7 +14394,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the result associated with <code class="computeroutput"><span class="identifier">other</span></code> to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>, leaving <code class="computeroutput"><span class="identifier">other</span></code> @@ -14425,7 +14425,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -14450,7 +14450,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -14480,7 +14480,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -14533,7 +14533,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -14584,7 +14584,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores the value r in the shared state without making that state @@ -14624,7 +14624,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores the exception pointer p in the shared state without making @@ -14668,7 +14668,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The expression <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">t</span><span class="special">)</span></code> where <code class="computeroutput"><span class="identifier">t</span></code> @@ -14758,7 +14758,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">f</span><span class="special">()</span></code> @@ -14807,7 +14807,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">f</span><span class="special">()</span></code> @@ -14846,7 +14846,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a new <a class="link" href="synchronization.html#thread.synchronization.futures.reference.packaged_task" title="packaged_task class template"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">packaged_task</span></code></a>, and transfers @@ -14876,7 +14876,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the task associated with <code class="computeroutput"><span class="identifier">other</span></code> to <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>, leaving <code class="computeroutput"><span class="identifier">other</span></code> @@ -14906,7 +14906,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroys <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>. @@ -14931,7 +14931,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns a <a class="link" href="synchronization.html#thread.synchronization.futures.reference.unique_future" title="future class template"><code class="computeroutput"><span class="identifier">future</span></code></a> associated with @@ -14956,7 +14956,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invoke the task associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> and store the result in the @@ -14993,7 +14993,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Invoke the task associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> and store the result in the @@ -15029,7 +15029,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Reset the state of the packaged_task so that it can be called @@ -15054,7 +15054,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The expression <code class="computeroutput"><span class="identifier">f</span><span class="special">(</span><span class="identifier">t</span><span class="special">)</span></code> where <code class="computeroutput"><span class="identifier">t</span></code> @@ -15107,7 +15107,7 @@ </p> <h6> <a name="thread.synchronization.futures.reference.async.h0"></a> - <span><a name="thread.synchronization.futures.reference.async.non_variadic_variant"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.reference.async.non_variadic_variant">Non-Variadic + <span class="phrase"><a name="thread.synchronization.futures.reference.async.non_variadic_variant"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.reference.async.non_variadic_variant">Non-Variadic variant</a> </h6> <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">></span> @@ -15122,7 +15122,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd> <p> @@ -15259,7 +15259,7 @@ </div> <h6> <a name="thread.synchronization.futures.reference.async.h1"></a> - <span><a name="thread.synchronization.futures.reference.async.variadic_variant"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.reference.async.variadic_variant">Variadic + <span class="phrase"><a name="thread.synchronization.futures.reference.async.variadic_variant"></a></span><a class="link" href="synchronization.html#thread.synchronization.futures.reference.async.variadic_variant">Variadic variant</a> </h6> <pre class="programlisting"><span class="keyword">template</span> <span class="special"><</span><span class="keyword">class</span> <span class="identifier">F</span><span class="special">,</span> <span class="keyword">class</span><span class="special">...</span> <span class="identifier">Args</span><span class="special">></span> @@ -15286,7 +15286,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd> <p> @@ -15445,7 +15445,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The types <code class="computeroutput"><span class="identifier">Fn</span></code> shall @@ -15504,7 +15504,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> The types <code class="computeroutput"><span class="identifier">Fn</span></code> shall @@ -15543,7 +15543,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> - For the first overload, <code class="computeroutput"><span class="identifier">InputIterator</span></code>'s @@ -15667,7 +15667,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> - For the first overload, <code class="computeroutput"><span class="identifier">InputIterator</span></code>'s @@ -15792,7 +15792,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Remark:</span></dt> <dd><p> where <code class="computeroutput"><span class="identifier">V</span></code> is determined @@ -15849,17 +15849,17 @@ </div> <div class="section"> <div class="titlepage"><div><div><h5 class="title"> -<a name="thread.synchronization.futures.reference.make_exceptional"></a><a class="link" href="synchronization.html#thread.synchronization.futures.reference.make_exceptional" title="Non-member function make_exceptional() EXTENSION">Non-member - function <code class="computeroutput"><span class="identifier">make_exceptional</span><span class="special">()</span></code> EXTENSION</a> +<a name="thread.synchronization.futures.reference.make_exceptional_future"></a><a class="link" href="synchronization.html#thread.synchronization.futures.reference.make_exceptional_future" title="Non-member function make_exceptional_future() EXTENSION">Non-member + function <code class="computeroutput"><span class="identifier">make_exceptional_future</span><span class="special">()</span></code> EXTENSION</a> </h5></div></div></div> -<pre class="programlisting"><span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">(</span><span class="identifier">exception_ptr</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> +<pre class="programlisting"><span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">(</span><span class="identifier">exception_ptr</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> <span class="keyword">template</span> <span class="special"><</span><span class="keyword">typename</span> <span class="identifier">E</span><span class="special">></span> - <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">(</span><span class="identifier">E</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> -<span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional</span><span class="special">();</span> <span class="comment">// EXTENSION</span> + <span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">(</span><span class="identifier">E</span> <span class="identifier">ex</span><span class="special">);</span> <span class="comment">// EXTENSION</span> +<span class="identifier">exceptional_ptr</span> <span class="identifier">make_exceptional_future</span><span class="special">();</span> <span class="comment">// EXTENSION</span> </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The exception that is passed in to the function or the current @@ -15887,7 +15887,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The value that is passed into the function is moved to the shared @@ -15930,7 +15930,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> The value that is passed in to the function is moved to the shared @@ -15968,7 +15968,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/thread_local_storage.html b/doc/html/thread/thread_local_storage.html index 90288f5550..a2cd474106 100644 --- a/doc/html/thread/thread_local_storage.html +++ b/doc/html/thread/thread_local_storage.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Thread Local Storage</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="synchronization.html" title="Synchronization"> <link rel="next" href="sds.html" title="Synchronized Data Structures"> </head> @@ -27,11 +27,11 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.thread_local_storage"></a><a class="link" href="thread_local_storage.html" title="Thread Local Storage">Thread Local Storage</a> </h2></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr">Class +<div class="toc"><dl class="toc"><dt><span class="section"><a href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr">Class <code class="computeroutput"><span class="identifier">thread_specific_ptr</span></code></a></span></dt></dl></div> <h4> <a name="thread.thread_local_storage.h0"></a> - <span><a name="thread.thread_local_storage.synopsis"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.synopsis">Synopsis</a> + <span class="phrase"><a name="thread.thread_local_storage.synopsis"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.synopsis">Synopsis</a> </h4> <p> Thread local storage allows multi-threaded applications to have a separate @@ -54,7 +54,7 @@ </p> <h4> <a name="thread.thread_local_storage.h1"></a> - <span><a name="thread.thread_local_storage.portable_thread_local_storage_with__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__thread_specific_ptr__phrase___code_"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.portable_thread_local_storage_with__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__thread_specific_ptr__phrase___code_">Portable + <span class="phrase"><a name="thread.thread_local_storage.portable_thread_local_storage_with__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__thread_specific_ptr__phrase___code_"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.portable_thread_local_storage_with__code__phrase_role__identifier__boost__phrase__phrase_role__special______phrase__phrase_role__identifier__thread_specific_ptr__phrase___code_">Portable thread-local storage with <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread_specific_ptr</span></code></a> </h4> <p> @@ -75,7 +75,7 @@ </p> <h4> <a name="thread.thread_local_storage.h2"></a> - <span><a name="thread.thread_local_storage.cleanup_at_thread_exit"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.cleanup_at_thread_exit">Cleanup + <span class="phrase"><a name="thread.thread_local_storage.cleanup_at_thread_exit"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.cleanup_at_thread_exit">Cleanup at thread exit</a> </h4> <p> @@ -101,7 +101,7 @@ </p> <h4> <a name="thread.thread_local_storage.h3"></a> - <span><a name="thread.thread_local_storage.rationale_about_the_nature_of_the_key"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.rationale_about_the_nature_of_the_key">Rationale + <span class="phrase"><a name="thread.thread_local_storage.rationale_about_the_nature_of_the_key"></a></span><a class="link" href="thread_local_storage.html#thread.thread_local_storage.rationale_about_the_nature_of_the_key">Rationale about the nature of the key</a> </h4> <p> @@ -115,7 +115,7 @@ <a name="thread.thread_local_storage.thread_specific_ptr"></a><a class="link" href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr" title="Class thread_specific_ptr">Class <code class="computeroutput"><span class="identifier">thread_specific_ptr</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr.default_constructor"><code class="computeroutput"><span class="identifier">thread_specific_ptr</span><span class="special">();</span></code></a></span></dt> <dt><span class="section"><a href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr.constructor_with_custom_cleanup"><code class="computeroutput"><span class="keyword">explicit</span> <span class="identifier">thread_specific_ptr</span><span class="special">(</span><span class="keyword">void</span> <span class="special">(*</span><span class="identifier">cleanup_function</span><span class="special">)(</span><span class="identifier">T</span><span class="special">*));</span></code></a></span></dt> <dt><span class="section"><a href="thread_local_storage.html#thread.thread_local_storage.thread_specific_ptr.destructor"><code class="computeroutput"><span class="special">~</span><span class="identifier">thread_specific_ptr</span><span class="special">();</span></code></a></span></dt> @@ -153,7 +153,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">delete</span> <span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code> is well-formed. @@ -181,7 +181,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">cleanup_function</span><span class="special">(</span><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">())</span></code> does not throw any exceptions. @@ -208,7 +208,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> All the thread specific instances associated to this thread_specific_ptr @@ -251,7 +251,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The pointer associated with the current thread. @@ -279,7 +279,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code> @@ -297,7 +297,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span></code> is not <code class="computeroutput"><span class="identifier">NULL</span></code>. @@ -320,7 +320,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">()!=</span><span class="identifier">new_value</span></code> and <code class="computeroutput"><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code> is non-<code class="computeroutput"><span class="identifier">NULL</span></code>, @@ -345,7 +345,7 @@ </h4></div></div></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Return <code class="computeroutput"><span class="keyword">this</span><span class="special">-></span><span class="identifier">get</span><span class="special">()</span></code> @@ -368,7 +368,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/thread_management.html b/doc/html/thread/thread_management.html index c0260c2687..3dc409f987 100644 --- a/doc/html/thread/thread_management.html +++ b/doc/html/thread/thread_management.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Thread Management</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="future.html" title="Future"> <link rel="next" href="ScopedThreads.html" title="Scoped Threads"> </head> @@ -27,7 +27,7 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.thread_management"></a><a class="link" href="thread_management.html" title="Thread Management">Thread Management</a> </h2></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.synopsis">Synopsis</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.tutorial">Tutorial</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread">Class <code class="computeroutput"><span class="identifier">thread</span></code></a></span></dt> @@ -85,7 +85,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.thread_management.tutorial"></a><a class="link" href="thread_management.html#thread.thread_management.tutorial" title="Tutorial">Tutorial</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.tutorial.launching">Launching threads</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.tutorial.attributes">Thread @@ -401,10 +401,13 @@ thread next executes one of the specified <a class="link" href="thread_management.html#interruption_points"><span class="emphasis"><em>interruption points</em></span></a> (or if it is currently <span class="emphasis"><em>blocked</em></span> whilst executing one) with interruption enabled, then a <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread_interrupted</span></code> - exception will be thrown in the interrupted thread. If not caught, this - will cause the execution of the interrupted thread to terminate. As with - any other exception, the stack will be unwound, and destructors for objects - of automatic storage duration will be executed. + exception will be thrown in the interrupted thread. Unless this exception + is caught inside the interrupted thread's thread-main function, the stack + unwinding process (as with any other exception) causes the destructors + with automatic storage duration to be executed. Unlike other exceptions, + when <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread_interrupted</span></code> is propagated out + of thread-main function, this does not cause the call to <code class="computeroutput"><span class="identifier">std</span><span class="special">::</span><span class="identifier">terminate</span></code>; the effect is as though the + thread-main function has returned normally. </p> <p> If a thread wishes to avoid being interrupted, it can create an instance @@ -457,7 +460,7 @@ </p> <a name="interruption_points"></a><h6> <a name="thread.thread_management.tutorial.interruption.h0"></a> - <span><a name="thread.thread_management.tutorial.interruption.predefined_interruption_points"></a></span><a class="link" href="thread_management.html#thread.thread_management.tutorial.interruption.predefined_interruption_points">Predefined + <span class="phrase"><a name="thread.thread_management.tutorial.interruption.predefined_interruption_points"></a></span><a class="link" href="thread_management.html#thread.thread_management.tutorial.interruption.predefined_interruption_points">Predefined Interruption Points</a> </h6> <p> @@ -466,7 +469,7 @@ enabled for the current thread, and interruption is requested for the current thread: </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a class="link" href="thread_management.html#thread.thread_management.thread.join" title="Member function join()"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">join</span><span class="special">()</span></code></a> </li> @@ -612,7 +615,7 @@ </p> <h6> <a name="thread.thread_management.tutorial.native_from.h0"></a> - <span><a name="thread.thread_management.tutorial.native_from._code__phrase_role__identifier__pthread_exit__phrase___code__posix_limitation"></a></span><a class="link" href="thread_management.html#thread.thread_management.tutorial.native_from._code__phrase_role__identifier__pthread_exit__phrase___code__posix_limitation"><code class="computeroutput"><span class="identifier">pthread_exit</span></code> POSIX limitation</a> + <span class="phrase"><a name="thread.thread_management.tutorial.native_from._code__phrase_role__identifier__pthread_exit__phrase___code__posix_limitation"></a></span><a class="link" href="thread_management.html#thread.thread_management.tutorial.native_from._code__phrase_role__identifier__pthread_exit__phrase___code__posix_limitation"><code class="computeroutput"><span class="identifier">pthread_exit</span></code> POSIX limitation</a> </h6> <p> <code class="computeroutput"><span class="identifier">pthread_exit</span></code> in glibc/NPTL @@ -631,7 +634,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.thread_management.thread"></a><a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread">Class <code class="computeroutput"><span class="identifier">thread</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.default_constructor">Default Constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.move_constructor">Move @@ -780,7 +783,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span></code></a> instance that refers @@ -806,7 +809,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Transfers ownership of the thread managed by <code class="computeroutput"><span class="identifier">other</span></code> @@ -834,7 +837,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -874,7 +877,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Callable</span></code> must be @@ -920,7 +923,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Callable</span></code> must be @@ -967,7 +970,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Callable</span></code> must be @@ -1013,7 +1016,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">Callable</span></code> must be @@ -1060,7 +1063,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">F</span></code> and each <code class="computeroutput"><span class="identifier">A</span></code>n must be copyable or movable. @@ -1107,7 +1110,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd> <p> @@ -1148,7 +1151,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1171,7 +1174,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> the thread is joinable. @@ -1252,7 +1255,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> the thread is joinable. @@ -1320,7 +1323,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> the thread is joinable. @@ -1387,7 +1390,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> the thread is joinable. @@ -1452,7 +1455,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> the thread is joinable. @@ -1496,7 +1499,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1520,7 +1523,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1529,7 +1532,7 @@ points</em></span></a> with interruption enabled, or if it is currently <span class="emphasis"><em>blocked</em></span> in a call to one of the predefined <a class="link" href="thread_management.html#interruption_points"><span class="emphasis"><em>interruption points</em></span></a> - with interruption enabled . + with interruption enabled. Otherwise do noting. </p></dd> <dt><span class="term">Throws:</span></dt> <dd><p> @@ -1547,7 +1550,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The number of hardware threads available on the current system (e.g. @@ -1570,7 +1573,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The number of physical cores available on the current system. In @@ -1594,7 +1597,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -1633,7 +1636,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">get_id</span><span class="special">()==</span><span class="identifier">other</span><span class="special">.</span><span class="identifier">get_id</span><span class="special">()</span></code> @@ -1665,7 +1668,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">get_id</span><span class="special">()!=</span><span class="identifier">other</span><span class="special">.</span><span class="identifier">get_id</span><span class="special">()</span></code> @@ -1698,7 +1701,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Suspends the current thread until the specified time has been reached. @@ -1741,7 +1744,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> See <a class="link" href="thread_management.html#thread.thread_management.this_thread.yield" title="Non-member function yield()"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">this_thread</span><span class="special">::</span><span class="identifier">yield</span><span class="special">()</span></code></a>. @@ -1758,7 +1761,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Exchanges the threads of execution associated with <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1789,7 +1792,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> <a class="link" href="thread_management.html#thread.thread_management.thread.swap" title="Member function swap()"><code class="computeroutput"><span class="identifier">lhs</span><span class="special">.</span><span class="identifier">swap</span><span class="special">(</span><span class="identifier">rhs</span><span class="special">)</span></code></a>. @@ -1801,7 +1804,7 @@ <div class="titlepage"><div><div><h4 class="title"> <a name="thread.thread_management.thread.id"></a><a class="link" href="thread_management.html#thread.thread_management.thread.id" title="Class boost::thread::id">Class <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span></code></a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.id.constructor">Default constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.id.is_equal"><code class="computeroutput"><span class="keyword">operator</span><span class="special">==</span></code></a></span></dt> @@ -1841,7 +1844,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a <a class="link" href="thread_management.html#thread.thread_management.thread.id" title="Class boost::thread::id"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span></code></a> instance that represents @@ -1862,7 +1865,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1885,7 +1888,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -1908,7 +1911,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span><span class="special">!=</span><span class="identifier">y</span></code> @@ -1937,7 +1940,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">y</span><span class="special"><*</span><span class="keyword">this</span></code> @@ -1957,7 +1960,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="special">!(</span><span class="identifier">y</span><span class="special"><*</span><span class="keyword">this</span><span class="special">)</span></code> @@ -1977,7 +1980,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="special">!(*</span><span class="keyword">this</span><span class="special"><</span><span class="identifier">y</span><span class="special">)</span></code> @@ -2000,7 +2003,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Writes a representation of the <a class="link" href="thread_management.html#thread.thread_management.thread.id" title="Class boost::thread::id"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span></code></a> instance <code class="computeroutput"><span class="identifier">x</span></code> to the stream <code class="computeroutput"><span class="identifier">os</span></code>, such that the representation @@ -2021,7 +2024,7 @@ <a name="thread.thread_management.thread.attributes"></a><a class="link" href="thread_management.html#thread.thread_management.thread.attributes" title="Class boost::thread::attributes EXTENSION">Class <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">attributes</span></code> EXTENSION</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.attributes.constructor">Default constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.thread.attributes.set_stack_size">Member @@ -2056,7 +2059,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Constructs a thread attributes instance with its default values. @@ -2077,7 +2080,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores the stack size to be used to create a thread. This is a @@ -2106,7 +2109,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The stack size to be used on the creation of a thread. Note that @@ -2131,7 +2134,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Returns an instance of <code class="computeroutput"><span class="identifier">native_handle_type</span></code> @@ -2154,7 +2157,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.thread_management.this_thread"></a><a class="link" href="thread_management.html#thread.thread_management.this_thread" title="Namespace this_thread">Namespace <code class="computeroutput"><span class="identifier">this_thread</span></code></a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.get_id">Non-member function <code class="computeroutput"><span class="identifier">get_id</span><span class="special">()</span></code></a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.interruption_point">Non-member @@ -2219,7 +2222,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> An instance of <a class="link" href="thread_management.html#thread.thread_management.thread.id" title="Class boost::thread::id"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span><span class="special">::</span><span class="identifier">id</span></code></a> that represents that @@ -2247,7 +2250,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Check to see if the current thread has been interrupted. @@ -2275,7 +2278,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if interruption @@ -2303,7 +2306,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> <code class="computeroutput"><span class="keyword">true</span></code> if interruption @@ -2350,7 +2353,7 @@ </table></div> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Suspends the current thread until the time period specified by <code class="computeroutput"><span class="identifier">rel_time</span></code> has elapsed or the time @@ -2391,7 +2394,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Suspends the current thread until the time point specified by <code class="computeroutput"><span class="identifier">abs_time</span></code> has been reached. @@ -2436,7 +2439,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Suspends the current thread until the duration specified by <code class="computeroutput"><span class="identifier">rel_time</span></code> has elapsed. @@ -2475,7 +2478,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Gives up the remainder of the current thread's time slice, to allow @@ -2493,7 +2496,7 @@ <a name="thread.thread_management.this_thread.disable_interruption"></a><a class="link" href="thread_management.html#thread.thread_management.this_thread.disable_interruption" title="Class disable_interruption EXTENSION">Class <code class="computeroutput"><span class="identifier">disable_interruption</span></code> EXTENSION</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.disable_interruption.constructor">Constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.disable_interruption.destructor">Destructor</a></span></dt> </dl></div> @@ -2525,7 +2528,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Stores the current state of <a class="link" href="thread_management.html#thread.thread_management.this_thread.interruption_enabled" title="Non-member function interruption_enabled() EXTENSION"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">this_thread</span><span class="special">::</span><span class="identifier">interruption_enabled</span><span class="special">()</span></code></a> @@ -2552,7 +2555,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> Must be called from the same thread from which <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> was constructed. @@ -2581,7 +2584,7 @@ <a name="thread.thread_management.this_thread.restore_interruption"></a><a class="link" href="thread_management.html#thread.thread_management.this_thread.restore_interruption" title="Class restore_interruption EXTENSION">Class <code class="computeroutput"><span class="identifier">restore_interruption</span></code> EXTENSION</a> </h4></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.restore_interruption.constructor">Constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.this_thread.restore_interruption.destructor">Destructor</a></span></dt> </dl></div> @@ -2614,7 +2617,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> Must be called from the same thread from which <code class="computeroutput"><span class="identifier">disabler</span></code> @@ -2646,7 +2649,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Preconditions:</span></dt> <dd><p> Must be called from the same thread from which <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> was constructed. @@ -2680,7 +2683,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> A copy of <code class="computeroutput"><span class="identifier">func</span></code> is @@ -2717,7 +2720,7 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.thread_management.threadgroup"></a><a class="link" href="thread_management.html#thread.thread_management.threadgroup" title="Class thread_group EXTENSION">Class <code class="computeroutput"><span class="identifier">thread_group</span></code> EXTENSION</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="thread_management.html#thread.thread_management.threadgroup.constructor">Constructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.threadgroup.destructor">Destructor</a></span></dt> <dt><span class="section"><a href="thread_management.html#thread.thread_management.threadgroup.create_thread">Member @@ -2775,7 +2778,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Create a new thread group with no threads. @@ -2791,7 +2794,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Destroy <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code> @@ -2811,7 +2814,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Create a new <a class="link" href="thread_management.html#thread.thread_management.thread" title="Class thread"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">thread</span></code></a> object as-if by @@ -2838,7 +2841,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Precondition:</span></dt> <dd><p> The expression <code class="computeroutput"><span class="keyword">delete</span> <span class="identifier">thrd</span></code> is well-formed and will not @@ -2867,7 +2870,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> If <code class="computeroutput"><span class="identifier">thrd</span></code> is a member @@ -2891,7 +2894,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Requires:</span></dt> <dd><p> <code class="computeroutput"><span class="identifier">is_this_thread_in</span><span class="special">()</span> <span class="special">==</span> <span class="keyword">false</span></code>. @@ -2923,7 +2926,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> true if there is a thread <code class="computeroutput"><span class="identifier">th</span></code> @@ -2941,7 +2944,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> true if there is a thread <code class="computeroutput"><span class="identifier">th</span></code> @@ -2959,7 +2962,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Effects:</span></dt> <dd><p> Call <code class="computeroutput"><span class="identifier">interrupt</span><span class="special">()</span></code> @@ -2977,7 +2980,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The number of threads in the group. @@ -2993,7 +2996,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> diff --git a/doc/html/thread/time.html b/doc/html/thread/time.html index 2bc9973f0b..af2a12799a 100644 --- a/doc/html/thread/time.html +++ b/doc/html/thread/time.html @@ -4,9 +4,9 @@ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII"> <title>Time Requirements</title> <link rel="stylesheet" href="../../../doc/src/boostbook.css" type="text/css"> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> +<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> <link rel="home" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset"> -<link rel="up" href="../thread.html" title="Chapter 33. Thread 4.7.0"> +<link rel="up" href="../thread.html" title="Chapter 35. Thread 4.7.1"> <link rel="prev" href="parallel.html" title="Parallel - Fork-Join -- EXPERIMENTAL"> <link rel="next" href="emulations.html" title="Emulations"> </head> @@ -27,13 +27,13 @@ <div class="titlepage"><div><div><h2 class="title" style="clear: both"> <a name="thread.time"></a><a class="link" href="time.html" title="Time Requirements">Time Requirements</a> </h2></div></div></div> -<div class="toc"><dl><dt><span class="section"><a href="time.html#thread.time.deprecated">Deprecated</a></span></dt></dl></div> +<div class="toc"><dl class="toc"><dt><span class="section"><a href="time.html#thread.time.deprecated">Deprecated</a></span></dt></dl></div> <p> As of Boost 1.50.0, the <span class="bold"><strong>Boost.Thread</strong></span> library uses Boost.Chrono library for all operations that require a time out as defined in the standard c++11. These include (but are not limited to): </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">this_thread</span><span class="special">::</span><a class="link" href="thread_management.html#thread.thread_management.this_thread.sleep_for" title="Non-member function sleep_for()"><code class="computeroutput"><span class="identifier">sleep_for</span></code></a></code> </li> @@ -69,16 +69,16 @@ <div class="titlepage"><div><div><h3 class="title"> <a name="thread.time.deprecated"></a><a class="link" href="time.html#thread.time.deprecated" title="Deprecated">Deprecated</a> </h3></div></div></div> -<div class="toc"><dl> +<div class="toc"><dl class="toc"> <dt><span class="section"><a href="time.html#thread.time.deprecated.system_time">Typedef <code class="computeroutput"><span class="identifier">system_time</span></code></a></span></dt> <dt><span class="section"><a href="time.html#thread.time.deprecated.get_system_time">Non-member function <code class="computeroutput"><span class="identifier">get_system_time</span><span class="special">()</span></code></a></span></dt> </dl></div> <p> - The time related functions introduced in Boost 1.35.0, using the <a class="link" href="../date_time.html" title="Chapter 9. Boost.Date_Time">Boost.Date_Time</a> + The time related functions introduced in Boost 1.35.0, using the <a class="link" href="../date_time.html" title="Chapter 10. Boost.Date_Time">Boost.Date_Time</a> library are deprecated. These include (but are not limited to): </p> -<div class="itemizedlist"><ul class="itemizedlist" type="disc"> +<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "> <li class="listitem"> <a class="link" href="thread_management.html#thread.thread_management.this_thread.sleep" title="Non-member function sleep() DEPRECATED"><code class="computeroutput"><span class="identifier">boost</span><span class="special">::</span><span class="identifier">this_thread</span><span class="special">::</span><span class="identifier">sleep</span><span class="special">()</span></code></a> </li> @@ -150,7 +150,7 @@ </pre> <div class="variablelist"> <p class="title"><b></b></p> -<dl> +<dl class="variablelist"> <dt><span class="term">Returns:</span></dt> <dd><p> The current time. @@ -166,7 +166,7 @@ </div> <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr> <td align="left"></td> -<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -15 Vicente J. Botet Escriba<p> +<td align="right"><div class="copyright-footer">Copyright © 2007 -11 Anthony Williams<br>Copyright © 2011 -16 Vicente J. Botet Escriba<p> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>) </p> |