2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-03 09:42:16 +00:00

Compare commits

...

5 Commits

Author SHA1 Message Date
Aleksey Gurtovoy
701a8fc4b5 fix invalid <p> tags
[SVN r26236]
2004-11-18 23:55:33 +00:00
Aleksey Gurtovoy
606fabcbd6 fix line endings
[SVN r26003]
2004-10-31 09:38:17 +00:00
Aleksey Gurtovoy
6d41e62c1c fix BoostBook/broken links/invalid filenames/etc.
[SVN r25933]
2004-10-29 10:23:48 +00:00
Aleksey Gurtovoy
643b8e7b79 fix BoostBook/broken links/invalid filenames/etc.
[SVN r25931]
2004-10-29 09:40:12 +00:00
nobody
76c5ae79b5 This commit was manufactured by cvs2svn to create branch 'RC_1_32_0'.
[SVN r25797]
2004-10-20 08:26:43 +00:00
4 changed files with 37 additions and 29 deletions

View File

@@ -195,7 +195,7 @@
and constructed for the Mutex object.</para>
<para>A Mutex is
<ulink url="../../utility/utility.htm#Class%20noncopyable">
<ulink url="../../libs/utility/utility.htm#Class%20noncopyable">
NonCopyable</ulink>.</para>
<para>For a Mutex type <code>M</code>
and an object <code>m</code> of that type,
@@ -1180,7 +1180,7 @@
the specified time, if any). A
read-lock will be granted to all pending readers
before any other thread can acquire a write-lock.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1188,7 +1188,7 @@
<entry>write-lock</entry>
<entry>Grant the write-lock immediately, if and
only if there are no pending read-lock requests.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1200,7 +1200,7 @@
for read-locks exist. If other write-lock
requests exist, the lock is granted in accordance
with the intra-class scheduling policy.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1212,18 +1212,18 @@
for read-locks exist. If other write-lock
requests exist, the lock is granted in accordance
with the intra-class scheduling policy.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
<entry>read-locked</entry>
<entry>promote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
<row>
<entry>write-locked</entry>
<entry>demote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
</tbody>
</tgroup>
@@ -1261,7 +1261,7 @@
<entry>Grant the additional read-lock immediately,
<emphasis role="bold">IF</emphasis> no outstanding
requests for a write-lock exist; otherwise TODO.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1272,7 +1272,7 @@
releases its lock. The read lock will be granted
once no other outstanding write-lock requests
exist.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1289,7 +1289,7 @@
is granted in accordance with the intra-class
scheduling policy. This request will be granted
before any new read-lock requests are granted.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1301,18 +1301,18 @@
granted in accordance with the intra-class
scheduling policy. This request will be granted
before any new read-lock requests are granted.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
<entry>read-locked</entry>
<entry>promote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
<row>
<entry>write-locked</entry>
<entry>demote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
</tbody>
</tgroup>
@@ -1355,7 +1355,7 @@
write-locks is granted and released. If other
read-lock requests exist, all read-locks will be
granted as a group.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1366,7 +1366,7 @@
outstanding write-lock requests exist, they will
have to wait until all current read-lock requests
are serviced.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1385,7 +1385,7 @@
lock will be granted to one of them in accordance
with the intra-class scheduling policy.</para>
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1399,18 +1399,18 @@
released. If other write-lock requests exist,
this lock will be granted in accordance with the
intra-class scheduling policy.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
<entry>read-locked</entry>
<entry>promote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
<row>
<entry>write-locked</entry>
<entry>demote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
</tbody>
</tgroup>
@@ -1451,7 +1451,7 @@
write-lock requests exist, this lock will not
be granted until at least one of the write-locks
is granted and released.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1464,7 +1464,7 @@
exist, exactly one read-lock request will be
granted before the next write-lock is granted.
</para>
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
@@ -1485,7 +1485,7 @@
in accordance with the intra-class
scheduling policy.</para></entry>
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</row>
<row>
<entry>write-locked</entry>
@@ -1498,18 +1498,18 @@
released. If other write-lock requests exist,
this lock will be granted in accordance with
the intra-class scheduling policy.
<p>TODO: try-lock, timed-lock.</p>
<para>TODO: try-lock, timed-lock.</para>
</entry>
</row>
<row>
<entry>read-locked</entry>
<entry>promote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
<row>
<entry>write-locked</entry>
<entry>demote</entry>
<entry><p>TODO</p></entry>
<entry><para>TODO</para></entry>
</row>
</tbody>
</tgroup>
@@ -1553,7 +1553,7 @@
requirements and constructed for the ReadWriteMutex object.</para>
<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>For a ReadWriteMutex type <code>M</code>,

8
doc/index.html Normal file
View 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>

View File

@@ -1,8 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="0; URL=doc/index.html">
<meta http-equiv="refresh" content="0; URL=../../doc/html/threads.html">
</head>
<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>
</html>

View File

@@ -95,7 +95,7 @@ int xtime_get(struct xtime* xtp, int clock_type)
# endif
static const boost::uint64_t TIMESPEC_TO_FILETIME_OFFSET =
UINT64_C(116444736000000000);
const boost::uint64_t ft64 =
(static_cast<boost::uint64_t>(ft.dwHighDateTime) << 32)
+ ft.dwLowDateTime;