summaryrefslogtreecommitdiff
path: root/doc/html/signals2/thread-safety.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/signals2/thread-safety.html')
-rw-r--r--doc/html/signals2/thread-safety.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/signals2/thread-safety.html b/doc/html/signals2/thread-safety.html
index 7afec5aa09..3c3b447568 100644
--- a/doc/html/signals2/thread-safety.html
+++ b/doc/html/signals2/thread-safety.html
@@ -27,13 +27,13 @@
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="signals2.thread-safety"></a>Thread-Safety</h2></div></div></div>
<div class="toc"><dl class="toc">
-<dt><span class="section"><a href="thread-safety.html#idp524963664">Introduction</a></span></dt>
-<dt><span class="section"><a href="thread-safety.html#idp524969824">Signals and combiners</a></span></dt>
-<dt><span class="section"><a href="thread-safety.html#idp524992928">Connections and other classes</a></span></dt>
+<dt><span class="section"><a href="thread-safety.html#idp508695472">Introduction</a></span></dt>
+<dt><span class="section"><a href="thread-safety.html#idp508701568">Signals and combiners</a></span></dt>
+<dt><span class="section"><a href="thread-safety.html#idp508723680">Connections and other classes</a></span></dt>
</dl></div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp524963664"></a>Introduction</h3></div></div></div>
+<a name="idp508695472"></a>Introduction</h3></div></div></div>
<p>
The primary motivation for Boost.Signals2 is to provide a version of
the original Boost.Signals library which can be used safely in a
@@ -50,7 +50,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp524969824"></a>Signals and combiners</h3></div></div></div>
+<a name="idp508701568"></a>Signals and combiners</h3></div></div></div>
<p>
Each signal object default-constructs a <code class="computeroutput">Mutex</code> object to protect
its internal state. Furthermore, a <code class="computeroutput">Mutex</code> is created
@@ -62,7 +62,7 @@
signal's methods are called. The mutex is usually held until the
method completes, however there is one major exception to this rule. When
a signal is invoked by calling
- <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp719925040-bb">signal::operator()</a></code>,
+ <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746617888-bb">signal::operator()</a></code>,
the invocation first acquires a lock on the signal's mutex. Then
it obtains a handle to the signal's slot list and combiner. Next
it releases the signal's mutex, before invoking the combiner to
@@ -109,7 +109,7 @@
Note that since we unlock the connection's mutex before executing
its associated slot, it is possible a slot will still be executing
after it has been disconnected by a
- <code class="computeroutput"><a class="link" href="../boost/signals2/connection.html#idp719442048-bb">connection::disconnect</a>()</code>, if
+ <code class="computeroutput"><a class="link" href="../boost/signals2/connection.html#idp746134896-bb">connection::disconnect</a>()</code>, if
the disconnect was called concurrently with signal invocation.
</p>
<p>
@@ -126,7 +126,7 @@
Future signal invocations will receive a handle to the newly created deep
copy of the slot list, and the old slot list will be destroyed once it
is no longer in use. Similarly, if you change a signal's combiner with
- <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp719946304-bb">signal::set_combiner</a></code>
+ <code class="computeroutput"><a class="link" href="../boost/signals2/signal.html#idp746639152-bb">signal::set_combiner</a></code>
while a signal invocation is running concurrently, the concurrent
signal invocation will continue to use the old combiner undisturbed,
while future signal invocations will receive a handle to the new combiner.
@@ -164,7 +164,7 @@
</div>
<div class="section">
<div class="titlepage"><div><div><h3 class="title">
-<a name="idp524992928"></a>Connections and other classes</h3></div></div></div>
+<a name="idp508723680"></a>Connections and other classes</h3></div></div></div>
<p>
The methods of the <code class="computeroutput"><a class="link" href="../boost/signals2/connection.html" title="Class connection">signals2::connection</a></code> class are thread-safe,
with the exception of assignment and swap. This is achived via locking the mutex