Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/doc/html/thread_resource_error.html @ 25

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

added boost

File size: 4.1 KB
Line 
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4<title>Class thread_resource_error</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/reference.html#id2533190" title="Header &lt;boost/thread/exceptions.hpp&gt;">
9<link rel="prev" href="lock_error.html" title="Class lock_error">
10<link rel="next" href="mutex.html" title="Class mutex">
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="lock_error.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id2533190"><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="mutex.html"><img src="images/next.png" alt="Next"></a>
24</div>
25<div class="refentry" lang="en">
26<a name="thread_resource_error"></a><div class="titlepage"></div>
27<div class="refnamediv">
28<h2><span class="refentrytitle">Class thread_resource_error</span></h2>
29<p>boost::thread_resource_error &#8212; <p>The <a href="thread_resource_error.html" title="Class thread_resource_error">thread_resource_error</a> class
30                        defines an exception type that is thrown by constructors in the
31                        <span class="bold"><strong>Boost.Threads</strong></span> library when thread-related resources can not be
32                        acquired.</p></p>
33</div>
34<h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
35<div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis">
36<span class="bold"><strong>class</strong></span> thread_resource_error : <span class="bold"><strong>public</strong></span> <span class="type">std::runtime_error</span> {
37<span class="bold"><strong>public</strong></span>:
38  <span class="emphasis"><em>// <a href="thread_resource_error.html#thread_resource_errorconstruct-copy-destruct">construct/copy/destruct</a></em></span>
39  <a href="thread_resource_error.html#id2533198-bb">thread_resource_error</a>();
40};</pre></div>
41<div class="refsect1" lang="en">
42<a name="id2780528"></a><h2>Description</h2>
43<p><a href="thread_resource_error.html" title="Class thread_resource_error">thread_resource_error</a> is used
44                        only when thread-related resources cannot be acquired; memory
45                        allocation failures are indicated by
46                        std::bad_alloc.</p>
47<div class="refsect2" lang="en">
48<a name="id2780542"></a><h3>
49<a name="thread_resource_errorconstruct-copy-destruct"></a><code class="computeroutput">thread_resource_error</code> construct/copy/destruct</h3>
50<div class="orderedlist"><ol type="1"><li>
51<pre class="literallayout"><a name="id2533198-bb"></a>thread_resource_error();</pre>
52<p><b xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision"><span class="term">Effects</span></b>:
53
54    Constructs a <code class="computeroutput">thread_resource_error</code>
55                        object.</p>
56</li></ol></div>
57</div>
58</div>
59</div>
60<table width="100%"><tr>
61<td align="left"></td>
62<td align="right"><small>Copyright © 2001-2003 William E. Kempf</small></td>
63</tr></table>
64<hr>
65<div class="spirit-nav">
66<a accesskey="p" href="lock_error.html"><img src="images/prev.png" alt="Prev"></a><a accesskey="u" href="threads/reference.html#id2533190"><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="mutex.html"><img src="images/next.png" alt="Next"></a>
67</div>
68</body>
69</html>
Note: See TracBrowser for help on using the repository browser.