<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Mutex Types</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
-<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
+<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="Chapter 1. Fiber">
<link rel="up" href="../synchronization.html" title="Synchronization">
<link rel="prev" href="../synchronization.html" title="Synchronization">
</p>
<h5>
<a name="class_mutex_bridgehead"></a>
- <span><a name="class_mutex"></a></span>
+ <span class="phrase"><a name="class_mutex"></a></span>
<a class="link" href="mutex_types.html#class_mutex">Class <code class="computeroutput">mutex</code></a>
</h5>
<p>
</p>
<h5>
<a name="mutex_lock_bridgehead"></a>
- <span><a name="mutex_lock"></a></span>
+ <span class="phrase"><a name="mutex_lock"></a></span>
<a class="link" href="mutex_types.html#mutex_lock">Member function <code class="computeroutput">lock</code>()</a>
</h5>
<p>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="mutex_try_lock_bridgehead"></a>
- <span><a name="mutex_try_lock"></a></span>
+ <span class="phrase"><a name="mutex_try_lock"></a></span>
<a class="link" href="mutex_types.html#mutex_try_lock">Member function <code class="computeroutput">try_lock</code>()</a>
</h5>
<p>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="mutex_unlock_bridgehead"></a>
- <span><a name="mutex_unlock"></a></span>
+ <span class="phrase"><a name="mutex_unlock"></a></span>
<a class="link" href="mutex_types.html#mutex_unlock">Member function <code class="computeroutput">unlock</code>()</a>
</h5>
<p>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The current fiber owns <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>.
</p>
<h5>
<a name="class_timed_mutex_bridgehead"></a>
- <span><a name="class_timed_mutex"></a></span>
+ <span class="phrase"><a name="class_timed_mutex"></a></span>
<a class="link" href="mutex_types.html#class_timed_mutex">Class <code class="computeroutput">timed_mutex</code></a>
</h5>
<p>
</p>
<h5>
<a name="timed_mutex_lock_bridgehead"></a>
- <span><a name="timed_mutex_lock"></a></span>
+ <span class="phrase"><a name="timed_mutex_lock"></a></span>
<a class="link" href="mutex_types.html#timed_mutex_lock">Member function
<code class="computeroutput">lock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="timed_mutex_try_lock_bridgehead"></a>
- <span><a name="timed_mutex_try_lock"></a></span>
+ <span class="phrase"><a name="timed_mutex_try_lock"></a></span>
<a class="link" href="mutex_types.html#timed_mutex_try_lock">Member
function <code class="computeroutput">try_lock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="timed_mutex_unlock_bridgehead"></a>
- <span><a name="timed_mutex_unlock"></a></span>
+ <span class="phrase"><a name="timed_mutex_unlock"></a></span>
<a class="link" href="mutex_types.html#timed_mutex_unlock">Member function
<code class="computeroutput">unlock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The current fiber owns <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>.
</p>
<h5>
<a name="timed_mutex_try_lock_until_bridgehead"></a>
- <span><a name="timed_mutex_try_lock_until"></a></span>
+ <span class="phrase"><a name="timed_mutex_try_lock_until"></a></span>
<a class="link" href="mutex_types.html#timed_mutex_try_lock_until">Templated
member function <code class="computeroutput">try_lock_until</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="timed_mutex_try_lock_for_bridgehead"></a>
- <span><a name="timed_mutex_try_lock_for"></a></span>
+ <span class="phrase"><a name="timed_mutex_try_lock_for"></a></span>
<a class="link" href="mutex_types.html#timed_mutex_try_lock_for">Templated
member function <code class="computeroutput">try_lock_for</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Precondition:</span></dt>
<dd><p>
The calling fiber doesn't own the mutex.
</p>
<h5>
<a name="class_recursive_mutex_bridgehead"></a>
- <span><a name="class_recursive_mutex"></a></span>
+ <span class="phrase"><a name="class_recursive_mutex"></a></span>
<a class="link" href="mutex_types.html#class_recursive_mutex">Class
<code class="computeroutput">recursive_mutex</code></a>
</h5>
</p>
<h5>
<a name="recursive_mutex_lock_bridgehead"></a>
- <span><a name="recursive_mutex_lock"></a></span>
+ <span class="phrase"><a name="recursive_mutex_lock"></a></span>
<a class="link" href="mutex_types.html#recursive_mutex_lock">Member
function <code class="computeroutput">lock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Effects:</span></dt>
<dd><p>
The current fiber blocks until ownership can be obtained.
</p>
<h5>
<a name="recursive_mutex_try_lock_bridgehead"></a>
- <span><a name="recursive_mutex_try_lock"></a></span>
+ <span class="phrase"><a name="recursive_mutex_try_lock"></a></span>
<a class="link" href="mutex_types.html#recursive_mutex_try_lock">Member
function <code class="computeroutput">try_lock</code>()</a>
</h5>
</pre>
<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 fiber without blocking.
</p>
<h5>
<a name="recursive_mutex_unlock_bridgehead"></a>
- <span><a name="recursive_mutex_unlock"></a></span>
+ <span class="phrase"><a name="recursive_mutex_unlock"></a></span>
<a class="link" href="mutex_types.html#recursive_mutex_unlock">Member
function <code class="computeroutput">unlock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Effects:</span></dt>
<dd><p>
Releases a lock on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
</p>
<h5>
<a name="class_recursive_timed_mutex_bridgehead"></a>
- <span><a name="class_recursive_timed_mutex"></a></span>
+ <span class="phrase"><a name="class_recursive_timed_mutex"></a></span>
<a class="link" href="mutex_types.html#class_recursive_timed_mutex">Class
<code class="computeroutput">recursive_timed_mutex</code></a>
</h5>
</p>
<h5>
<a name="recursive_timed_mutex_lock_bridgehead"></a>
- <span><a name="recursive_timed_mutex_lock"></a></span>
+ <span class="phrase"><a name="recursive_timed_mutex_lock"></a></span>
<a class="link" href="mutex_types.html#recursive_timed_mutex_lock">Member
function <code class="computeroutput">lock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Effects:</span></dt>
<dd><p>
The current fiber blocks until ownership can be obtained.
</p>
<h5>
<a name="recursive_timed_mutex_try_lock_bridgehead"></a>
- <span><a name="recursive_timed_mutex_try_lock"></a></span>
+ <span class="phrase"><a name="recursive_timed_mutex_try_lock"></a></span>
<a class="link" href="mutex_types.html#recursive_timed_mutex_try_lock">Member
function <code class="computeroutput">try_lock</code>()</a>
</h5>
</pre>
<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 fiber without blocking.
</p>
<h5>
<a name="recursive_timed_mutex_unlock_bridgehead"></a>
- <span><a name="recursive_timed_mutex_unlock"></a></span>
+ <span class="phrase"><a name="recursive_timed_mutex_unlock"></a></span>
<a class="link" href="mutex_types.html#recursive_timed_mutex_unlock">Member
function <code class="computeroutput">unlock</code>()</a>
</h5>
</pre>
<div class="variablelist">
<p class="title"><b></b></p>
-<dl>
+<dl class="variablelist">
<dt><span class="term">Effects:</span></dt>
<dd><p>
Releases a lock on <code class="computeroutput"><span class="special">*</span><span class="keyword">this</span></code>
</p>
<h5>
<a name="recursive_timed_mutex_try_lock_until_bridgehead"></a>
- <span><a name="recursive_timed_mutex_try_lock_until"></a></span>
+ <span class="phrase"><a name="recursive_timed_mutex_try_lock_until"></a></span>
<a class="link" href="mutex_types.html#recursive_timed_mutex_try_lock_until">Templated
member function <code class="computeroutput">try_lock_until</code>()</a>
</h5>
</pre>
<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 fiber. Blocks until ownership
</p>
<h5>
<a name="recursive_timed_mutex_try_lock_for_bridgehead"></a>
- <span><a name="recursive_timed_mutex_try_lock_for"></a></span>
+ <span class="phrase"><a name="recursive_timed_mutex_try_lock_for"></a></span>
<a class="link" href="mutex_types.html#recursive_timed_mutex_try_lock_for">Templated
member function <code class="computeroutput">try_lock_for</code>()</a>
</h5>
</pre>
<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 fiber. Blocks until ownership