Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 5fc82cd2dfd40b1b8acca39dd2860281 > files > 363

log4cpp-1.0-4.fc12.i686.rpm

<!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="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="namespaces.html"><span>Namespace&nbsp;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="namespacelog4cpp_1_1threading.html">threading</a>
  </div>
</div>
<div class="contents">
<h1>log4cpp::threading Namespace Reference</h1><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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1ThreadLocalDataHolder.html">ThreadLocalDataHolder</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1MSMutex.html">MSMutex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1MSScopedLock.html">MSScopedLock</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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 &nbsp;</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 &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html">ScopedLock</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#ae98297fe1256bc51b1252c241aef4f1">Mutex</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Dummy type 'int' for <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 boost::mutex::scoped_lock&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#b5526cf96c18d52f46843e6411d44f7c">ScopedLock</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacelog4cpp_1_1threading.html#f2f7960b92e64a8beb0dcb08ee6bf378">getThreadId</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return an identifier for the current thread.  <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>
Dummy type 'int' for <a class="el" href="classlog4cpp_1_1threading_1_1Mutex.html">Mutex</a>. 
<p>
A simple, non recursive <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.<p>
Equivalent to Boost.Threads boost::mutex 
</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>
Dummy type 'int' defintion of <a class="el" href="classlog4cpp_1_1threading_1_1ScopedLock.html" title="definition of ScopedLock;">ScopedLock</a>;. 
<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>
<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>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return an identifier for the current thread. 
<p>
returns the thread ID<p>
What these identifiers look like is completely up to the underlying thread library.<p>
What these identifiers look like is completely up to the underlying thread library. OmniThreads returns the POSIX thread Id. 
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 19:34:50 2009 for log4cpp by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>