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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>log4cpp: log4cpp::threading Namespace Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="namespaces.html"><span>Namespace List</span></a></li>
<li><a href="namespacemembers.html"><span>Namespace Members</span></a></li>
</ul>
</div>
<div class="nav">
<a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="namespacelog4cpp_1_1threading.html">threading</a></div>
<h1>log4cpp::threading Namespace Reference</h1>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1ThreadLocalDataHolder.html">ThreadLocalDataHolder</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This class holds Thread local data of type T, i.e. <a href="classlog4cpp_1_1threading_1_1ThreadLocalDataHolder.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1MSMutex.html">MSMutex</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple object wrapper around CreateMutex() and DeleteMutex(). <a href="classlog4cpp_1_1threading_1_1MSMutex.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1MSScopedLock.html">MSScopedLock</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple object wrapper around WaitForSingleObject() and ReleaseMutex(). <a href="classlog4cpp_1_1threading_1_1MSScopedLock.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">ScopedLock</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">definition of <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html" title="definition of ScopedLock;">ScopedLock</a>; <a href="classlog4cpp_1_1threading_1_1ScopedLock.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef boost::mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#5a9f591b9fac01362c5bf99b715d6ede">Mutex</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef boost::mutex::scoped_lock </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#aec64dd75883664a19f8e55ce6288e9c">ScopedLock</a></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#b71624a94443c477b895eb0086468784">Mutex</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Dummy type 'int' for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. <a href="#b71624a94443c477b895eb0086468784"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef int </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#8f4309a6abc62c43d2eda279d4872693">ScopedLock</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Dummy type 'int' defintion of <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html" title="definition of ScopedLock;">ScopedLock</a>;. <a href="#8f4309a6abc62c43d2eda279d4872693"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classlog4cpp_1_1threading_1_1MSMutex.html">MSMutex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#d023e7822447284d7c21ac9f3697a3b1">Mutex</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple, non recursive <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. <a href="#d023e7822447284d7c21ac9f3697a3b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="classlog4cpp_1_1threading_1_1MSScopedLock.html">MSScopedLock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#e8ca05c4c9a399cdf73d66f5575c0f95">ScopedLock</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple "resource acquisition is initialization" idiom type lock for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. <a href="#e8ca05c4c9a399cdf73d66f5575c0f95"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef omni_mutex </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#ae98297fe1256bc51b1252c241aef4f1">Mutex</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple, non recursive <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. <a href="#ae98297fe1256bc51b1252c241aef4f1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef omni_mutex_lock </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#b5526cf96c18d52f46843e6411d44f7c">ScopedLock</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A simple "resource acquisition is initialization" idiom type lock for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. <a href="#b5526cf96c18d52f46843e6411d44f7c"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#f2f7960b92e64a8beb0dcb08ee6bf378">getThreadId</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">returns the thread ID <a href="#f2f7960b92e64a8beb0dcb08ee6bf378"></a><br></td></tr>
</table>
<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="ae98297fe1256bc51b1252c241aef4f1"></a><!-- doxytag: member="log4cpp::threading::Mutex" ref="ae98297fe1256bc51b1252c241aef4f1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef omni_mutex <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">log4cpp::threading::Mutex</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A simple, non recursive <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>.
<p>
Equivalent to Boost.Threads boost::mutex
</div>
</div><p>
<a class="anchor" name="d023e7822447284d7c21ac9f3697a3b1"></a><!-- doxytag: member="log4cpp::threading::Mutex" ref="d023e7822447284d7c21ac9f3697a3b1" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classlog4cpp_1_1threading_1_1MSMutex.html">MSMutex</a> <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">log4cpp::threading::Mutex</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A simple, non recursive <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>.
<p>
</div>
</div><p>
<a class="anchor" name="b71624a94443c477b895eb0086468784"></a><!-- doxytag: member="log4cpp::threading::Mutex" ref="b71624a94443c477b895eb0086468784" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">log4cpp::threading::Mutex</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Dummy type 'int' for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>.
<p>
Yes, this adds a bit of overhead in the for of extra memory, but unfortunately 'void' is illegal.
</div>
</div><p>
<a class="anchor" name="5a9f591b9fac01362c5bf99b715d6ede"></a><!-- doxytag: member="log4cpp::threading::Mutex" ref="5a9f591b9fac01362c5bf99b715d6ede" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef boost::mutex <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">log4cpp::threading::Mutex</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<a class="anchor" name="b5526cf96c18d52f46843e6411d44f7c"></a><!-- doxytag: member="log4cpp::threading::ScopedLock" ref="b5526cf96c18d52f46843e6411d44f7c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef omni_mutex_lock <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">log4cpp::threading::ScopedLock</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A simple "resource acquisition is initialization" idiom type lock for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>.
<p>
Equivalent to Boost.Threads boost::scoped_lock.
</div>
</div><p>
<a class="anchor" name="e8ca05c4c9a399cdf73d66f5575c0f95"></a><!-- doxytag: member="log4cpp::threading::ScopedLock" ref="e8ca05c4c9a399cdf73d66f5575c0f95" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef <a class="el" href="classlog4cpp_1_1threading_1_1MSScopedLock.html">MSScopedLock</a> <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">log4cpp::threading::ScopedLock</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
A simple "resource acquisition is initialization" idiom type lock for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>.
<p>
</div>
</div><p>
<a class="anchor" name="8f4309a6abc62c43d2eda279d4872693"></a><!-- doxytag: member="log4cpp::threading::ScopedLock" ref="8f4309a6abc62c43d2eda279d4872693" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef int <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">log4cpp::threading::ScopedLock</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Dummy type 'int' defintion of <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html" title="definition of ScopedLock;">ScopedLock</a>;.
<p>
</div>
</div><p>
<a class="anchor" name="aec64dd75883664a19f8e55ce6288e9c"></a><!-- doxytag: member="log4cpp::threading::ScopedLock" ref="aec64dd75883664a19f8e55ce6288e9c" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef boost::mutex::scoped_lock <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">log4cpp::threading::ScopedLock</a> </td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="f2f7960b92e64a8beb0dcb08ee6bf378"></a><!-- doxytag: member="log4cpp::threading::getThreadId" ref="f2f7960b92e64a8beb0dcb08ee6bf378" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string log4cpp::threading::getThreadId </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
returns the thread ID
<p>
What these identifiers look like is completely up to the underlying thread library.
</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 3 11:55:09 2007 for log4cpp by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>
|