summaryrefslogtreecommitdiff
path: root/doc/html/threads/reference.html
blob: 27211882520cb11a4eda5e0309e52118c8d5e20a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Reference</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="../index.html" title="The Boost C++ Libraries">
<link rel="up" href="../threads.html" title="Chapter 12. Boost.Threads">
<link rel="prev" href="rationale.html" title="Rationale">
<link rel="next" href="../barrier.html" title="Class barrier">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%">
<td valign="top"><img alt="boost.png (6897 bytes)" width="277" height="86" src="../../../boost.png"></td>
<td align="center"><a href="../../../index.htm">Home</a></td>
<td align="center"><a href="../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="../../../people/people.htm">People</a></td>
<td align="center"><a href="../../../more/faq.htm">FAQ</a></td>
<td align="center"><a href="../../../more/index.htm">More</a></td>
</table>
<hr>
<div class="spirit-nav">
<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>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h3 class="title">
<a name="threads.reference"></a>Reference</h3></div></div></div>
<div class="toc"><dl>
<dt><span class="section"><a href="reference.html#id2616214">Header &lt;boost/thread/barrier.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2450200">Header &lt;boost/thread/condition.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2533190">Header &lt;boost/thread/exceptions.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2534429">Header &lt;boost/thread/mutex.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2534986">Header &lt;boost/thread/once.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2436754">Header &lt;boost/thread/recursive_mutex.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2617127">Header &lt;boost/thread/thread.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2547002">Header &lt;boost/thread/tss.hpp&gt;</a></span></dt>
<dt><span class="section"><a href="reference.html#id2416096">Header &lt;boost/thread/xtime.hpp&gt;</a></span></dt>
</dl></div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2616214"></a>Header &lt;<a href="../../../boost/thread/barrier.hpp" target="_top">boost/thread/barrier.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../barrier.html" title="Class barrier">barrier</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2450200"></a>Header &lt;<a href="../../../boost/thread/condition.hpp" target="_top">boost/thread/condition.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../condition.html" title="Class condition">condition</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2533190"></a>Header &lt;<a href="../../../boost/thread/exceptions.hpp" target="_top">boost/thread/exceptions.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../lock_error.html" title="Class lock_error">lock_error</a>;
  <span class="bold"><strong>class</strong></span> <a href="../thread_resource_error.html" title="Class thread_resource_error">thread_resource_error</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2534429"></a>Header &lt;<a href="../../../boost/thread/mutex.hpp" target="_top">boost/thread/mutex.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../mutex.html" title="Class mutex">mutex</a>;
  <span class="bold"><strong>class</strong></span> <a href="../try_mutex.html" title="Class try_mutex">try_mutex</a>;
  <span class="bold"><strong>class</strong></span> <a href="../timed_mutex.html" title="Class timed_mutex">timed_mutex</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2534986"></a>Header &lt;<a href="../../../boost/thread/once.hpp" target="_top">boost/thread/once.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis">

<a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a></pre>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <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
			<code class="computeroutput">once_flag</code> type (statically initialized to 
			<a href="../BOOST_ONCE_INIT.html" title="Macro BOOST_ONCE_INIT">BOOST_ONCE_INIT</a>) can be used to run a
			routine exactly once. This can be used to initialize data in a
			<a href="../threads.html#threads.glossary.thread-safe">thread-safe</a>
			manner.</em></span>
   <a href="../call_once.html" title="Function call_once">call_once</a>(<span class="bold"><strong>void</strong></span> (*func)(), once_flag&amp;);
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<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>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../recursive_mutex.html" title="Class recursive_mutex">recursive_mutex</a>;
  <span class="bold"><strong>class</strong></span> <a href="../recursive_try_mutex.html" title="Class recursive_try_mutex">recursive_try_mutex</a>;
  <span class="bold"><strong>class</strong></span> <a href="../recursive_timed_mutex.html" title="Class recursive_timed_mutex">recursive_timed_mutex</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2617127"></a>Header &lt;<a href="../../../boost/thread/thread.hpp" target="_top">boost/thread/thread.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../thread.html" title="Class thread">thread</a>;
  <span class="bold"><strong>class</strong></span> <a href="../thread_group.html" title="Class thread_group">thread_group</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2547002"></a>Header &lt;<a href="../../../boost/thread/tss.hpp" target="_top">boost/thread/tss.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>class</strong></span> <a href="../thread_specific_ptr.html" title="Class thread_specific_ptr">thread_specific_ptr</a>;
}</pre>
</div>
<div class="section" lang="en">
<div class="titlepage"><div><div><h4 class="title">
<a name="id2416096"></a>Header &lt;<a href="../../../boost/thread/xtime.hpp" target="_top">boost/thread/xtime.hpp</a>&gt;</h4></div></div></div>
<pre class="synopsis"><span class="bold"><strong>namespace</strong></span> boost {
  <span class="bold"><strong>enum</strong></span> <a href="../id2545607.html" title="Type xtime_clock_types">xtime_clock_types</a>;

  <span class="bold"><strong>struct</strong></span> <a href="../xtime.html" title="Struct xtime">xtime</a>;
  <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>);
}</pre>
</div>
</div>
<table width="100%"><tr>
<td align="left"></td>
<td align="right"><small>Copyright © 2001-2003 William E. Kempf</small></td>
</tr></table>
<hr>
<div class="spirit-nav">
<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>
</div>
</body>
</html>