Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/threads/reference.html @ 12

Last change on this file since 12 was 12, checked in by landauf, 18 years ago

added boost

File size: 9.0 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.69.1">
7<link rel="start" href="../index.html" title="The Boost C++ Libraries">
8<link rel="up" href="../threads.html" title="Chapter 12. Boost.Threads">
9<link rel="prev" href="rationale.html" title="Rationale">
10<link rel="next" href="../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.png (6897 bytes)" 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="../threads.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="../barrier.html"><img src="../images/next.png" alt="Next"></a>
24</div>
25<div class="section" lang="en">
26<div class="titlepage"><div><div><h3 class="title">
27<a name="threads.reference"></a>Reference</h3></div></div></div>
28<div class="toc"><dl>
29<dt><span class="section"><a href="reference.html#id2616214">Header &lt;boost/thread/barrier.hpp&gt;</a></span></dt>
30<dt><span class="section"><a href="reference.html#id2450200">Header &lt;boost/thread/condition.hpp&gt;</a></span></dt>
31<dt><span class="section"><a href="reference.html#id2533190">Header &lt;boost/thread/exceptions.hpp&gt;</a></span></dt>
32<dt><span class="section"><a href="reference.html#id2534429">Header &lt;boost/thread/mutex.hpp&gt;</a></span></dt>
33<dt><span class="section"><a href="reference.html#id2534986">Header &lt;boost/thread/once.hpp&gt;</a></span></dt>
34<dt><span class="section"><a href="reference.html#id2436754">Header &lt;boost/thread/recursive_mutex.hpp&gt;</a></span></dt>
35<dt><span class="section"><a href="reference.html#id2617127">Header &lt;boost/thread/thread.hpp&gt;</a></span></dt>
36<dt><span class="section"><a href="reference.html#id2547002">Header &lt;boost/thread/tss.hpp&gt;</a></span></dt>
37<dt><span class="section"><a href="reference.html#id2416096">Header &lt;boost/thread/xtime.hpp&gt;</a></span></dt>
38</dl></div>
39<div class="section" lang="en">
40<div class="titlepage"><div><div><h4 class="title">
41<a name="id2616214"></a>Header &lt;<a href="../../../boost/thread/barrier.hpp" target="_top">boost/thread/barrier.hpp</a>&gt;</h4></div></div></div>
42<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
43  <span class="bold"><strong>class</strong></span> <a href="../barrier.html" title="Class barrier">barrier</a>;
44}</pre>
45</div>
46<div class="section" lang="en">
47<div class="titlepage"><div><div><h4 class="title">
48<a name="id2450200"></a>Header &lt;<a href="../../../boost/thread/condition.hpp" target="_top">boost/thread/condition.hpp</a>&gt;</h4></div></div></div>
49<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
50  <span class="bold"><strong>class</strong></span> <a href="../condition.html" title="Class condition">condition</a>;
51}</pre>
52</div>
53<div class="section" lang="en">
54<div class="titlepage"><div><div><h4 class="title">
55<a name="id2533190"></a>Header &lt;<a href="../../../boost/thread/exceptions.hpp" target="_top">boost/thread/exceptions.hpp</a>&gt;</h4></div></div></div>
56<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
57  <span class="bold"><strong>class</strong></span> <a href="../lock_error.html" title="Class lock_error">lock_error</a>;
58  <span class="bold"><strong>class</strong></span> <a href="../thread_resource_error.html" title="Class thread_resource_error">thread_resource_error</a>;
59}</pre>
60</div>
61<div class="section" lang="en">
62<div class="titlepage"><div><div><h4 class="title">
63<a name="id2534429"></a>Header &lt;<a href="../../../boost/thread/mutex.hpp" target="_top">boost/thread/mutex.hpp</a>&gt;</h4></div></div></div>
64<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
65  <span class="bold"><strong>class</strong></span> <a href="../mutex.html" title="Class mutex">mutex</a>;
66  <span class="bold"><strong>class</strong></span> <a href="../try_mutex.html" title="Class try_mutex">try_mutex</a>;
67  <span class="bold"><strong>class</strong></span> <a href="../timed_mutex.html" title="Class timed_mutex">timed_mutex</a>;
68}</pre>
69</div>
70<div class="section" lang="en">
71<div class="titlepage"><div><div><h4 class="title">
72<a name="id2534986"></a>Header &lt;<a href="../../../boost/thread/once.hpp" target="_top">boost/thread/once.hpp</a>&gt;</h4></div></div></div>
73<pre class="synopsis">
74
75<a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a></pre>
76<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
77  <span class="bold"><strong>typedef</strong></span> <span class="emphasis"><em>implementation-defined</em></span> once_flag;  <span class="emphasis"><em>// The <a href="../call_once.html" title="Function call_once">call_once</a> function and
78                        <code class="computeroutput">once_flag</code> type (statically initialized to
79                        <a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a>) can be used to run a
80                        routine exactly once. This can be used to initialize data in a
81                        <a href="../threads.html#threads.glossary.thread-safe">thread-safe</a>
82                        manner.</em></span>
83   <a href="../call_once.html" title="Function call_once">call_once</a>(<span class="bold"><strong>void</strong></span> (*func)(), once_flag&amp;);
84}</pre>
85</div>
86<div class="section" lang="en">
87<div class="titlepage"><div><div><h4 class="title">
88<a name="id2436754"></a>Header &lt;<a href="../../../boost/thread/recursive_mutex.hpp" target="_top">boost/thread/recursive_mutex.hpp</a>&gt;</h4></div></div></div>
89<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
90  <span class="bold"><strong>class</strong></span> <a href="../recursive_mutex.html" title="Class recursive_mutex">recursive_mutex</a>;
91  <span class="bold"><strong>class</strong></span> <a href="../recursive_try_mutex.html" title="Class recursive_try_mutex">recursive_try_mutex</a>;
92  <span class="bold"><strong>class</strong></span> <a href="../recursive_timed_mutex.html" title="Class recursive_timed_mutex">recursive_timed_mutex</a>;
93}</pre>
94</div>
95<div class="section" lang="en">
96<div class="titlepage"><div><div><h4 class="title">
97<a name="id2617127"></a>Header &lt;<a href="../../../boost/thread/thread.hpp" target="_top">boost/thread/thread.hpp</a>&gt;</h4></div></div></div>
98<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
99  <span class="bold"><strong>class</strong></span> <a href="../thread.html" title="Class thread">thread</a>;
100  <span class="bold"><strong>class</strong></span> <a href="../thread_group.html" title="Class thread_group">thread_group</a>;
101}</pre>
102</div>
103<div class="section" lang="en">
104<div class="titlepage"><div><div><h4 class="title">
105<a name="id2547002"></a>Header &lt;<a href="../../../boost/thread/tss.hpp" target="_top">boost/thread/tss.hpp</a>&gt;</h4></div></div></div>
106<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
107  <span class="bold"><strong>class</strong></span> <a href="../thread_specific_ptr.html" title="Class thread_specific_ptr">thread_specific_ptr</a>;
108}</pre>
109</div>
110<div class="section" lang="en">
111<div class="titlepage"><div><div><h4 class="title">
112<a name="id2416096"></a>Header &lt;<a href="../../../boost/thread/xtime.hpp" target="_top">boost/thread/xtime.hpp</a>&gt;</h4></div></div></div>
113<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
114  <span class="bold"><strong>enum</strong></span> <a href="../id2545607.html" title="Type xtime_clock_types">xtime_clock_types</a>;
115
116  <span class="bold"><strong>struct</strong></span> <a href="../xtime.html" title="Struct xtime">xtime</a>;
117  <span class="type"><span class="bold"><strong>int</strong></span></span> <a href="../xtime.html#xtime_get">xtime_get</a>(<a href="../xtime.html" title="Struct xtime">xtime</a>*, <span class="bold"><strong>int</strong></span>);
118}</pre>
119</div>
120</div>
121<table width="100%"><tr>
122<td align="left"></td>
123<td align="right"><small>Copyright © 2001-2003 William E. Kempf</small></td>
124</tr></table>
125<hr>
126<div class="spirit-nav">
127<a accesskey="p" href="rationale.html"><img src="../images/prev.png" alt="Prev"></a><a accesskey="u" href="../threads.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="../barrier.html"><img src="../images/next.png" alt="Next"></a>
128</div>
129</body>
130</html>
Note: See TracBrowser for help on using the repository browser.