Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/doc/html/thread/reference.html @ 29

Last change on this file since 29 was 29, checked in by landauf, 17 years ago

updated boost from 1_33_1 to 1_34_1

File size: 10.8 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>Reference</title>
5<link rel="stylesheet" href="../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
8<link rel="up" href="../thread.html" title="Chapter 15. Boost.Thread">
9<link rel="prev" href="rationale.html" title="Rationale">
10<link rel="next" href="../boost/barrier.html" title="Class barrier">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%">
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../boost.png"></td>
15<td align="center"><a href="../../../index.htm">Home</a></td>
16<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="../../../people/people.htm">People</a></td>
18<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
19<td align="center"><a href="../../../more/index.htm">More</a></td>
20</table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="rationale.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../thread.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../boost/barrier.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h2 class="title" style="clear: both">
27<a name="thread.reference"></a>Reference</h2></div></div></div>
28<div class="toc"><dl>
29<dt><span class="section"><a href="reference.html#header.boost.thread.barrier.hpp">Header &lt;boost/thread/barrier.hpp&gt;</a></span></dt>
30<dt><span class="section"><a href="reference.html#header.boost.thread.condition.hpp">Header &lt;boost/thread/condition.hpp&gt;</a></span></dt>
31<dt><span class="section"><a href="reference.html#header.boost.thread.exceptions.hpp">Header &lt;boost/thread/exceptions.hpp&gt;</a></span></dt>
32<dt><span class="section"><a href="reference.html#header.boost.thread.mutex.hpp">Header &lt;boost/thread/mutex.hpp&gt;</a></span></dt>
33<dt><span class="section"><a href="reference.html#header.boost.thread.once.hpp">Header &lt;boost/thread/once.hpp&gt;</a></span></dt>
34<dt><span class="section"><a href="reference.html#header.boost.thread.recursive_mutex.hpp">Header &lt;boost/thread/recursive_mutex.hpp&gt;</a></span></dt>
35<dt><span class="section"><a href="reference.html#header.boost.thread.read_write_mutex.hpp">Header &lt;boost/thread/read_write_mutex.hpp&gt;</a></span></dt>
36<dt><span class="section"><a href="reference.html#header.boost.thread.thread.hpp">Header &lt;boost/thread/thread.hpp&gt;</a></span></dt>
37<dt><span class="section"><a href="reference.html#header.boost.thread.tss.hpp">Header &lt;boost/thread/tss.hpp&gt;</a></span></dt>
38<dt><span class="section"><a href="reference.html#header.boost.thread.xtime.hpp">Header &lt;boost/thread/xtime.hpp&gt;</a></span></dt>
39</dl></div>
40<div class="section" lang="en">
41<div class="titlepage"><div><div><h3 class="title">
42<a name="header.boost.thread.barrier.hpp"></a>Header &lt;<a href="../../../boost/thread/barrier.hpp" target="_top">boost/thread/barrier.hpp</a>&gt;</h3></div></div></div>
43<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
44  <span class="bold"><strong>class</strong></span> <a href="../boost/barrier.html" title="Class barrier">barrier</a>;
45}</pre>
46</div>
47<div class="section" lang="en">
48<div class="titlepage"><div><div><h3 class="title">
49<a name="header.boost.thread.condition.hpp"></a>Header &lt;<a href="../../../boost/thread/condition.hpp" target="_top">boost/thread/condition.hpp</a>&gt;</h3></div></div></div>
50<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
51  <span class="bold"><strong>class</strong></span> <a href="../boost/condition.html" title="Class condition">condition</a>;
52}</pre>
53</div>
54<div class="section" lang="en">
55<div class="titlepage"><div><div><h3 class="title">
56<a name="header.boost.thread.exceptions.hpp"></a>Header &lt;<a href="../../../boost/thread/exceptions.hpp" target="_top">boost/thread/exceptions.hpp</a>&gt;</h3></div></div></div>
57<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
58  <span class="bold"><strong>class</strong></span> <a href="../boost/lock_error.html" title="Class lock_error">lock_error</a>;
59  <span class="bold"><strong>class</strong></span> <a href="../boost/thread_resource_error.html" title="Class thread_resource_error">thread_resource_error</a>;
60}</pre>
61</div>
62<div class="section" lang="en">
63<div class="titlepage"><div><div><h3 class="title">
64<a name="header.boost.thread.mutex.hpp"></a>Header &lt;<a href="../../../boost/thread/mutex.hpp" target="_top">boost/thread/mutex.hpp</a>&gt;</h3></div></div></div>
65<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
66  <span class="bold"><strong>class</strong></span> <a href="../boost/mutex.html" title="Class mutex">mutex</a>;
67  <span class="bold"><strong>class</strong></span> <a href="../boost/try_mutex.html" title="Class try_mutex">try_mutex</a>;
68  <span class="bold"><strong>class</strong></span> <a href="../boost/timed_mutex.html" title="Class timed_mutex">timed_mutex</a>;
69}</pre>
70</div>
71<div class="section" lang="en">
72<div class="titlepage"><div><div><h3 class="title">
73<a name="header.boost.thread.once.hpp"></a>Header &lt;<a href="../../../boost/thread/once.hpp" target="_top">boost/thread/once.hpp</a>&gt;</h3></div></div></div>
74<pre class="synopsis">
75
76<a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a></pre>
77<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
78  <span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>implementation-defined</em></span> once_flag;  <span class="emphasis"><em>// The <a href="../boost/call_once.html" title="Function call_once">call_once</a> function and
79                        <code class="computeroutput">once_flag</code> type (statically initialized to
80                        <a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a>) can be used to run a
81                        routine exactly once. This can be used to initialize data in a
82                        <a href="../thread.html#thread.glossary.thread-safe">thread-safe</a>
83                        manner.</em></span>
84   <a href="../boost/call_once.html" title="Function call_once">call_once</a>(<span class="bold"><strong>void</strong></span> (*func)(), once_flag&amp;);
85}</pre>
86</div>
87<div class="section" lang="en">
88<div class="titlepage"><div><div><h3 class="title">
89<a name="header.boost.thread.recursive_mutex.hpp"></a>Header &lt;<a href="../../../boost/thread/recursive_mutex.hpp" target="_top">boost/thread/recursive_mutex.hpp</a>&gt;</h3></div></div></div>
90<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
91  <span class="bold"><strong>class</strong></span> <a href="../boost/recursive_mutex.html" title="Class recursive_mutex">recursive_mutex</a>;
92  <span class="bold"><strong>class</strong></span> <a href="../boost/recursive_try_mutex.html" title="Class recursive_try_mutex">recursive_try_mutex</a>;
93  <span class="bold"><strong>class</strong></span> <a href="../boost/recursive_timed_mutex.html" title="Class recursive_timed_mutex">recursive_timed_mutex</a>;
94}</pre>
95</div>
96<div class="section" lang="en">
97<div class="titlepage"><div><div><h3 class="title">
98<a name="header.boost.thread.read_write_mutex.hpp"></a>Header &lt;<a href="../../../boost/thread/read_write_mutex.hpp" target="_top">boost/thread/read_write_mutex.hpp</a>&gt;</h3></div></div></div>
99<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
100  <span class="bold"><strong>class</strong></span> <a href="../boost/read_write_mutex.html" title="Class read_write_mutex">read_write_mutex</a>;
101  <span class="bold"><strong>class</strong></span> <a href="../boost/try_read_write_mutex.html" title="Class try_read_write_mutex">try_read_write_mutex</a>;
102  <span class="bold"><strong>class</strong></span> <a href="../boost/timed_read_write_mutex.html" title="Class timed_read_write_mutex">timed_read_write_mutex</a>;
103  <span class="bold"><strong>namespace</strong></span> read_write_scheduling_policy {
104    <span class="bold"><strong>enum</strong></span> <a href="../boost/read_write_scheduling_policy/read_write_scheduling_policy.html" title="Type read_write_scheduling_policy">read_write_scheduling_policy</a>;
105  }
106}</pre>
107</div>
108<div class="section" lang="en">
109<div class="titlepage"><div><div><h3 class="title">
110<a name="header.boost.thread.thread.hpp"></a>Header &lt;<a href="../../../boost/thread/thread.hpp" target="_top">boost/thread/thread.hpp</a>&gt;</h3></div></div></div>
111<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
112  <span class="bold"><strong>class</strong></span> <a href="../boost/thread.html" title="Class thread">thread</a>;
113  <span class="bold"><strong>class</strong></span> <a href="../boost/thread_group.html" title="Class thread_group">thread_group</a>;
114}</pre>
115</div>
116<div class="section" lang="en">
117<div class="titlepage"><div><div><h3 class="title">
118<a name="header.boost.thread.tss.hpp"></a>Header &lt;<a href="../../../boost/thread/tss.hpp" target="_top">boost/thread/tss.hpp</a>&gt;</h3></div></div></div>
119<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
120  <span class="bold"><strong>class</strong></span> <a href="../boost/thread_specific_ptr.html" title="Class thread_specific_ptr">thread_specific_ptr</a>;
121}</pre>
122</div>
123<div class="section" lang="en">
124<div class="titlepage"><div><div><h3 class="title">
125<a name="header.boost.thread.xtime.hpp"></a>Header &lt;<a href="../../../boost/thread/xtime.hpp" target="_top">boost/thread/xtime.hpp</a>&gt;</h3></div></div></div>
126<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
127  <span class="bold"><strong>enum</strong></span> <a href="../boost/xtime_clock_types.html" title="Type xtime_clock_types">xtime_clock_types</a>;
128
129  <span class="bold"><strong>struct</strong></span> <a href="../boost/xtime.html" title="Struct xtime">xtime</a>;
130  <span class="type"><span class="bold"><strong>int</strong></span></span> <a href="../boost/xtime.html#boost.xtime_get">xtime_get</a>(<a href="../boost/xtime.html" title="Struct xtime">xtime</a>*, <span class="bold"><strong>int</strong></span>);
131}</pre>
132</div>
133</div>
134<table width="100%"><tr>
135<td align="left"></td>
136<td align="right"><small>Copyright © 2001-2003 William E. Kempf</small></td>
137</tr></table>
138<hr>
139<div class="spirit-nav">
140<a accesskey="p" href="rationale.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../thread.html"><img src="../images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../images/home.png" alt="Home"></a><a accesskey="n" href="../boost/barrier.html"><img src="../images/next.png" alt="Next"></a>
141</div>
142</body>
143</html>
Note: See TracBrowser for help on using the repository browser.