mirror of
https://github.com/boostorg/thread.git
synced 2026-02-08 23:22:13 +00:00
Compare commits
6 Commits
feature/ex
...
boost-1.32
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52a53be89b | ||
|
|
701a8fc4b5 | ||
|
|
606fabcbd6 | ||
|
|
6d41e62c1c | ||
|
|
643b8e7b79 | ||
|
|
76c5ae79b5 |
@@ -195,7 +195,7 @@
|
|||||||
and constructed for the Mutex object.</para>
|
and constructed for the Mutex object.</para>
|
||||||
|
|
||||||
<para>A Mutex is
|
<para>A Mutex is
|
||||||
<ulink url="../../utility/utility.htm#Class%20noncopyable">
|
<ulink url="../../libs/utility/utility.htm#Class%20noncopyable">
|
||||||
NonCopyable</ulink>.</para>
|
NonCopyable</ulink>.</para>
|
||||||
<para>For a Mutex type <code>M</code>
|
<para>For a Mutex type <code>M</code>
|
||||||
and an object <code>m</code> of that type,
|
and an object <code>m</code> of that type,
|
||||||
@@ -1180,7 +1180,7 @@
|
|||||||
the specified time, if any). A
|
the specified time, if any). A
|
||||||
read-lock will be granted to all pending readers
|
read-lock will be granted to all pending readers
|
||||||
before any other thread can acquire a write-lock.
|
before any other thread can acquire a write-lock.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1188,7 +1188,7 @@
|
|||||||
<entry>write-lock</entry>
|
<entry>write-lock</entry>
|
||||||
<entry>Grant the write-lock immediately, if and
|
<entry>Grant the write-lock immediately, if and
|
||||||
only if there are no pending read-lock requests.
|
only if there are no pending read-lock requests.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1200,7 +1200,7 @@
|
|||||||
for read-locks exist. If other write-lock
|
for read-locks exist. If other write-lock
|
||||||
requests exist, the lock is granted in accordance
|
requests exist, the lock is granted in accordance
|
||||||
with the intra-class scheduling policy.
|
with the intra-class scheduling policy.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1212,18 +1212,18 @@
|
|||||||
for read-locks exist. If other write-lock
|
for read-locks exist. If other write-lock
|
||||||
requests exist, the lock is granted in accordance
|
requests exist, the lock is granted in accordance
|
||||||
with the intra-class scheduling policy.
|
with the intra-class scheduling policy.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>read-locked</entry>
|
<entry>read-locked</entry>
|
||||||
<entry>promote</entry>
|
<entry>promote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>write-locked</entry>
|
<entry>write-locked</entry>
|
||||||
<entry>demote</entry>
|
<entry>demote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -1261,7 +1261,7 @@
|
|||||||
<entry>Grant the additional read-lock immediately,
|
<entry>Grant the additional read-lock immediately,
|
||||||
<emphasis role="bold">IF</emphasis> no outstanding
|
<emphasis role="bold">IF</emphasis> no outstanding
|
||||||
requests for a write-lock exist; otherwise TODO.
|
requests for a write-lock exist; otherwise TODO.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1272,7 +1272,7 @@
|
|||||||
releases its lock. The read lock will be granted
|
releases its lock. The read lock will be granted
|
||||||
once no other outstanding write-lock requests
|
once no other outstanding write-lock requests
|
||||||
exist.
|
exist.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1289,7 +1289,7 @@
|
|||||||
is granted in accordance with the intra-class
|
is granted in accordance with the intra-class
|
||||||
scheduling policy. This request will be granted
|
scheduling policy. This request will be granted
|
||||||
before any new read-lock requests are granted.
|
before any new read-lock requests are granted.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1301,18 +1301,18 @@
|
|||||||
granted in accordance with the intra-class
|
granted in accordance with the intra-class
|
||||||
scheduling policy. This request will be granted
|
scheduling policy. This request will be granted
|
||||||
before any new read-lock requests are granted.
|
before any new read-lock requests are granted.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>read-locked</entry>
|
<entry>read-locked</entry>
|
||||||
<entry>promote</entry>
|
<entry>promote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>write-locked</entry>
|
<entry>write-locked</entry>
|
||||||
<entry>demote</entry>
|
<entry>demote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -1355,7 +1355,7 @@
|
|||||||
write-locks is granted and released. If other
|
write-locks is granted and released. If other
|
||||||
read-lock requests exist, all read-locks will be
|
read-lock requests exist, all read-locks will be
|
||||||
granted as a group.
|
granted as a group.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1366,7 +1366,7 @@
|
|||||||
outstanding write-lock requests exist, they will
|
outstanding write-lock requests exist, they will
|
||||||
have to wait until all current read-lock requests
|
have to wait until all current read-lock requests
|
||||||
are serviced.
|
are serviced.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1385,7 +1385,7 @@
|
|||||||
lock will be granted to one of them in accordance
|
lock will be granted to one of them in accordance
|
||||||
with the intra-class scheduling policy.</para>
|
with the intra-class scheduling policy.</para>
|
||||||
|
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1399,18 +1399,18 @@
|
|||||||
released. If other write-lock requests exist,
|
released. If other write-lock requests exist,
|
||||||
this lock will be granted in accordance with the
|
this lock will be granted in accordance with the
|
||||||
intra-class scheduling policy.
|
intra-class scheduling policy.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>read-locked</entry>
|
<entry>read-locked</entry>
|
||||||
<entry>promote</entry>
|
<entry>promote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>write-locked</entry>
|
<entry>write-locked</entry>
|
||||||
<entry>demote</entry>
|
<entry>demote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -1451,7 +1451,7 @@
|
|||||||
write-lock requests exist, this lock will not
|
write-lock requests exist, this lock will not
|
||||||
be granted until at least one of the write-locks
|
be granted until at least one of the write-locks
|
||||||
is granted and released.
|
is granted and released.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1464,7 +1464,7 @@
|
|||||||
exist, exactly one read-lock request will be
|
exist, exactly one read-lock request will be
|
||||||
granted before the next write-lock is granted.
|
granted before the next write-lock is granted.
|
||||||
</para>
|
</para>
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
@@ -1485,7 +1485,7 @@
|
|||||||
in accordance with the intra-class
|
in accordance with the intra-class
|
||||||
scheduling policy.</para></entry>
|
scheduling policy.</para></entry>
|
||||||
|
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>write-locked</entry>
|
<entry>write-locked</entry>
|
||||||
@@ -1498,18 +1498,18 @@
|
|||||||
released. If other write-lock requests exist,
|
released. If other write-lock requests exist,
|
||||||
this lock will be granted in accordance with
|
this lock will be granted in accordance with
|
||||||
the intra-class scheduling policy.
|
the intra-class scheduling policy.
|
||||||
<p>TODO: try-lock, timed-lock.</p>
|
<para>TODO: try-lock, timed-lock.</para>
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>read-locked</entry>
|
<entry>read-locked</entry>
|
||||||
<entry>promote</entry>
|
<entry>promote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<entry>write-locked</entry>
|
<entry>write-locked</entry>
|
||||||
<entry>demote</entry>
|
<entry>demote</entry>
|
||||||
<entry><p>TODO</p></entry>
|
<entry><para>TODO</para></entry>
|
||||||
</row>
|
</row>
|
||||||
</tbody>
|
</tbody>
|
||||||
</tgroup>
|
</tgroup>
|
||||||
@@ -1553,7 +1553,7 @@
|
|||||||
requirements and constructed for the ReadWriteMutex object.</para>
|
requirements and constructed for the ReadWriteMutex object.</para>
|
||||||
|
|
||||||
<para>A ReadWriteMutex is
|
<para>A ReadWriteMutex is
|
||||||
<ulink url="../../utility/utility.htm#Class%20noncopyable">NonCopyable</ulink>.
|
<ulink url="../../libs/utility/utility.htm#Class%20noncopyable">NonCopyable</ulink>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>For a ReadWriteMutex type <code>M</code>,
|
<para>For a ReadWriteMutex type <code>M</code>,
|
||||||
|
|||||||
8
doc/index.html
Normal file
8
doc/index.html
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="refresh" content="0; URL=../../../doc/html/threads.html">
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
Automatic redirection failed, please go to <a href="../../../doc/html/threads.html">../../../doc/html/threads.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; URL=doc/index.html">
|
<meta http-equiv="refresh" content="0; URL=../../doc/html/threads.html">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
Automatic redirection failed, please go to <a href="doc/index.html">doc/index.html</a>
|
Automatic redirection failed, please go to <a href="../../doc/html/threads.html">../../doc/html/threads.html</a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user