⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classpintcondmutex.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</table><a name="z417_4" doxytag="PIntCondMutex::operator+="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PIntCondMutex&amp; PIntCondMutex::operator+= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>inc</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Add to condition value. Use the <a class="el" href="classPSemaphore.html#z347_0">Wait()</a> function to acquire the mutex, modify the value, then release the mutex, possibly releasing the thread in the <a class="el" href="classPCondMutex.html#a0">WaitCondition()</a> function if the condition was met by the operation.<p><dl compact><dt><b>Returns: </b></dt><dd>The object reference for consecutive operations in the same statement. </dl>    </td>  </tr></table><a name="z417_5" doxytag="PIntCondMutex::operator--"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PIntCondMutex&amp; PIntCondMutex::operator-- </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Decrement condition value. Use the <a class="el" href="classPSemaphore.html#z347_0">Wait()</a> function to acquire the mutex, modify the value, then release the mutex, possibly releasing the thread in the <a class="el" href="classPCondMutex.html#a0">WaitCondition()</a> function if the condition was met by the operation.<p><dl compact><dt><b>Returns: </b></dt><dd>The object reference for consecutive operations in the same statement. </dl>    </td>  </tr></table><a name="z417_6" doxytag="PIntCondMutex::operator-="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PIntCondMutex&amp; PIntCondMutex::operator-= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>dec</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Subtract from condition value. Use the <a class="el" href="classPSemaphore.html#z347_0">Wait()</a> function to acquire the mutex, modify the value, then release the mutex, possibly releasing the thread in the <a class="el" href="classPCondMutex.html#a0">WaitCondition()</a> function if the condition was met by the operation.<p><dl compact><dt><b>Returns: </b></dt><dd>The object reference for consecutive operations in the same statement. </dl>    </td>  </tr></table><a name="z417_2" doxytag="PIntCondMutex::operator="></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PIntCondMutex&amp; PIntCondMutex::operator= </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newval</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Assign new condition value. Use the <a class="el" href="classPSemaphore.html#z347_0">Wait()</a> function to acquire the mutex, modify the value, then release the mutex, possibly releasing the thread in the <a class="el" href="classPCondMutex.html#a0">WaitCondition()</a> function if the condition was met by the operation.<p><dl compact><dt><b>Returns: </b></dt><dd>The object reference for consecutive operations in the same statement. </dl>    </td>  </tr></table><a name="z415_0" doxytag="PIntCondMutex::PrintOn"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> void PIntCondMutex::PrintOn </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">ostream &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>strm</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Print the object on the stream. This will be of the form #"(value &lt; target)"#. <p>Reimplemented from <a class="el" href="classPObject.html#z201_0">PObject</a>.    </td>  </tr></table><hr><h2>Member Data Documentation</h2><a name="n2" doxytag="PIntCondMutex::operation"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPIntCondMutex.html#z413_0">Operation</a> PIntCondMutex::operation<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n1" doxytag="PIntCondMutex::target"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int PIntCondMutex::target<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="n0" doxytag="PIntCondMutex::value"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> int PIntCondMutex::value<code> [protected]</code>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="syncthrd_8h-source.html">syncthrd.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:17 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -