~ubuntu-branches/ubuntu/dapper/boost/dapper

« back to all changes in this revision

Viewing changes to doc/html/thread_group.html

  • Committer: Bazaar Package Importer
  • Author(s): Domenico Andreoli, Christophe Prud'homme, Domenico Andreoli
  • Date: 2006-01-11 11:11:42 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060111111142-xy6z1i5himlgu8iw
Tags: 1.33.1-2
[ Christophe Prud'homme ]
* Bug fix: "libboost-wave-dev: Dependency on libboost-filesystem-dev
  missing", thanks to Martin v . Löwis (Closes: #346367).

[ Domenico Andreoli ]
* boost/graph/topological_sort.hpp: removed name of unused parameter
  to prevent long compiler warning.  Closes: #347519.
* Applied patch from upstream CVS to fix parsing of valid options
  with a common root.  Closes: #345714.
* libboost-python-dev now correctly depends on python2.4-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4
4
<title>Class thread_group</title>
5
5
<link rel="stylesheet" href="boostbook.css" type="text/css">
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
7
7
<link rel="start" href="index.html" title="The Boost C++ Libraries">
8
 
<link rel="up" href="threads/reference.html#id1248802" title="Header &lt;boost/thread/thread.hpp&gt;">
 
8
<link rel="up" href="threads/reference.html#id2617127" title="Header &lt;boost/thread/thread.hpp&gt;">
9
9
<link rel="prev" href="thread.html" title="Class thread">
10
10
<link rel="next" href="thread_specific_ptr.html" title="Class thread_specific_ptr">
11
11
</head>
20
20
</table>
21
21
<hr>
22
22
<div class="spirit-nav">
23
 
<a accesskey="p" href="thread.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id1248802"><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="thread_specific_ptr.html"><img src="images/next.png" alt="Next"></a>
 
23
<a accesskey="p" href="thread.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id2617127"><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="thread_specific_ptr.html"><img src="images/next.png" alt="Next"></a>
24
24
</div>
25
25
<div class="refentry" lang="en">
26
26
<a name="thread_group"></a><div class="titlepage"></div>
38
38
{
39
39
<span class="bold"><strong>public</strong></span>:
40
40
��<span class="emphasis"><em>// <a href="thread_group.html#thread_groupconstruct-copy-destruct">construct/copy/destruct</a></em></span>
41
 
��<a href="thread_group.html#id657106-bb">thread_group</a>();
42
 
��<a href="thread_group.html#id892819-bb">~thread_group</a>();
 
41
��<a href="thread_group.html#id2531266-bb">thread_group</a>();
 
42
��<a href="thread_group.html#id2605650-bb">~thread_group</a>();
43
43
 
44
 
��<span class="emphasis"><em>// <a href="thread_group.html#id859920-bb">modifier</a></em></span>
45
 
��<span class="type"><a href="thread.html" title="Class thread">thread</a>*</span> <a href="thread_group.html#id1171912-bb">create_thread</a>(<span class="bold"><strong>const</strong></span> boost::function0&lt;<span class="bold"><strong>void</strong></span>&gt;&amp;);
46
 
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id1250288-bb">add_thread</a>(<a href="thread.html" title="Class thread">thread</a>* thrd);
47
 
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id824434-bb">remove_thread</a>(<a href="thread.html" title="Class thread">thread</a>* thrd);
48
 
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id799018-bb">join_all</a>();
 
44
��<span class="emphasis"><em>// <a href="thread_group.html#id2450255-bb">modifier</a></em></span>
 
45
��<span class="type"><a href="thread.html" title="Class thread">thread</a>*</span> <a href="thread_group.html#id2561946-bb">create_thread</a>(<span class="bold"><strong>const</strong></span> boost::function0&lt;<span class="bold"><strong>void</strong></span>&gt;&amp;);
 
46
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id2584425-bb">add_thread</a>(<a href="thread.html" title="Class thread">thread</a>* thrd);
 
47
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id2486169-bb">remove_thread</a>(<a href="thread.html" title="Class thread">thread</a>* thrd);
 
48
��<span class="type"><span class="bold"><strong>void</strong></span></span> <a href="thread_group.html#id2626351-bb">join_all</a>();
49
49
};</pre></div>
50
50
<div class="refsect1" lang="en">
51
 
<a name="id1564348"></a><h2>Description</h2>
 
51
<a name="id2784910"></a><h2>Description</h2>
52
52
<div class="refsect2" lang="en">
53
 
<a name="id1564351"></a><h3>
 
53
<a name="id2784913"></a><h3>
54
54
<a name="thread_groupconstruct-copy-destruct"></a><code class="computeroutput">thread_group</code> construct/copy/destruct</h3>
55
55
<div class="orderedlist"><ol type="1">
56
56
<li>
57
 
<pre class="literallayout"><a name="id657106-bb"></a>thread_group();</pre>
 
57
<pre class="literallayout"><a name="id2531266-bb"></a>thread_group();</pre>
58
58
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
59
59
 
60
60
    Constructs an empty <a href="thread_group.html" title="Class thread_group">thread_group</a>
61
61
                        container.</p>
62
62
</li>
63
63
<li>
64
 
<pre class="literallayout"><a name="id892819-bb"></a>~thread_group();</pre>
 
64
<pre class="literallayout"><a name="id2605650-bb"></a>~thread_group();</pre>
65
65
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
66
66
 
67
67
    Destroys each contained thread object. Destroys <code class="computeroutput">*this</code>.<br><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Notes</span></b>:
73
73
</ol></div>
74
74
</div>
75
75
<div class="refsect2" lang="en">
76
 
<a name="id1564443"></a><h3>
77
 
<a name="id859920-bb"></a><code class="computeroutput">thread_group</code> modifier</h3>
 
76
<a name="id2785006"></a><h3>
 
77
<a name="id2450255-bb"></a><code class="computeroutput">thread_group</code> modifier</h3>
78
78
<div class="orderedlist"><ol type="1">
79
79
<li>
80
 
<pre class="literallayout"><span class="type"><a href="thread.html" title="Class thread">thread</a>*</span> <a name="id1171912-bb"></a>create_thread(<span class="bold"><strong>const</strong></span> boost::function0&lt;<span class="bold"><strong>void</strong></span>&gt;&amp; threadfunc);</pre>
 
80
<pre class="literallayout"><span class="type"><a href="thread.html" title="Class thread">thread</a>*</span> <a name="id2561946-bb"></a>create_thread(<span class="bold"><strong>const</strong></span> boost::function0&lt;<span class="bold"><strong>void</strong></span>&gt;&amp; threadfunc);</pre>
81
81
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
82
82
 
83
83
    Creates a new <a href="thread.html" title="Class thread">thread</a> object 
89
89
                                <a href="thread.html" title="Class thread">thread</a> object.</p>
90
90
</li>
91
91
<li>
92
 
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id1250288-bb"></a>add_thread(<a href="thread.html" title="Class thread">thread</a>* thrd thrd);</pre>
 
92
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2584425-bb"></a>add_thread(<a href="thread.html" title="Class thread">thread</a>* thrd);</pre>
93
93
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
94
94
 
95
95
    Adds <code class="computeroutput">thrd</code> to the 
99
99
                                be deleted when the group is destroyed.</p>
100
100
</li>
101
101
<li>
102
 
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id824434-bb"></a>remove_thread(<a href="thread.html" title="Class thread">thread</a>* thrd thrd);</pre>
 
102
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2486169-bb"></a>remove_thread(<a href="thread.html" title="Class thread">thread</a>* thrd);</pre>
103
103
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
104
104
 
105
105
    Removes <code class="computeroutput">thread</code> from <code class="computeroutput">*this</code>'s
110
110
                                of managed <a href="thread.html" title="Class thread">thread</a> objects.</p>
111
111
</li>
112
112
<li>
113
 
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id799018-bb"></a>join_all();</pre>
 
113
<pre class="literallayout"><span class="type"><span class="bold"><strong>void</strong></span></span> <a name="id2626351-bb"></a>join_all();</pre>
114
114
<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
115
115
 
116
116
    Calls <code class="computeroutput">join()</code> on each of the managed 
120
120
</div>
121
121
</div>
122
122
</div>
123
 
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
 
123
<table width="100%"><tr>
124
124
<td align="left"></td>
125
125
<td align="right"><small>Copyright � 2001-2003 William E. Kempf</small></td>
126
126
</tr></table>
127
127
<hr>
128
128
<div class="spirit-nav">
129
 
<a accesskey="p" href="thread.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id1248802"><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="thread_specific_ptr.html"><img src="images/next.png" alt="Next"></a>
 
129
<a accesskey="p" href="thread.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id2617127"><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="thread_specific_ptr.html"><img src="images/next.png" alt="Next"></a>
130
130
</div>
131
131
</body>
132
132
</html>