Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 247b28499c443e092731ffba814075f2 > files > 876

mpqc-html-2.3.1-9mdv2010.0.i586.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>MPQC: sc::ThreadLock Class 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="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="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1ThreadLock.html">ThreadLock</a>
  </div>
</div>
<div class="contents">
<h1>sc::ThreadLock Class Reference</h1><!-- doxytag: class="sc::ThreadLock" --><!-- doxytag: inherits="sc::RefCount" -->The <a class="el" href="classsc_1_1ThreadLock.html" title="The ThreadLock abstract class provides mutex locks to be used in conjunction with...">ThreadLock</a> abstract class provides mutex locks to be used in conjunction with ThreadGrp's.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="thread_8h_source.html">thread.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for sc::ThreadLock:</div>
<div class="dynsection">

<p><center><img src="classsc_1_1ThreadLock.png" usemap="#sc::ThreadLock_map" border="0" alt=""></center>
<map name="sc::ThreadLock_map">
<area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="0,56,98,80">
<area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="0,0,98,24">
</map>
</div>

<p>
<a href="classsc_1_1ThreadLock-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="fdd8a5034e875f52db7ba69fca49a317"></a><!-- doxytag: member="sc::ThreadLock::lock" ref="fdd8a5034e875f52db7ba69fca49a317" args="()=0" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1ThreadLock.html#fdd8a5034e875f52db7ba69fca49a317">lock</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Obtain the lock. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a41b2af30a710227fad19a053585454"></a><!-- doxytag: member="sc::ThreadLock::unlock" ref="4a41b2af30a710227fad19a053585454" args="()=0" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classsc_1_1ThreadLock.html#4a41b2af30a710227fad19a053585454">unlock</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Release the lock. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The <a class="el" href="classsc_1_1ThreadLock.html" title="The ThreadLock abstract class provides mutex locks to be used in conjunction with...">ThreadLock</a> abstract class provides mutex locks to be used in conjunction with ThreadGrp's. 
<p>
<a class="el" href="classsc_1_1ThreadLock.html" title="The ThreadLock abstract class provides mutex locks to be used in conjunction with...">ThreadLock</a> objects should be locked and unlocked with <a class="el" href="classsc_1_1ThreadLockHolder.html" title="Acquire a lock on creation and release it on destruction.">ThreadLockHolder</a> objects to provide exception safety. <hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="thread_8h_source.html">thread.h</a></ul>
</div>
<hr>
<address>
<small>

Generated at Wed Oct 14 14:12:16 2009 for <a
href="http://www.mpqc.org">MPQC</a>
2.3.1 using the documentation package <a
href="http://www.doxygen.org">Doxygen</a>
1.5.9.

</small>
</address>
</body>
</html>