You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
5.4 KiB

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.4"/>
  7. <title>tbb::null_rw_mutex::scoped_lock Class Reference</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  12. </head>
  13. <body>
  14. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  15. <!-- end header part -->
  16. <!-- Generated by Doxygen 1.8.4 -->
  17. <div id="navrow1" class="tabs">
  18. <ul class="tablist">
  19. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  20. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  21. <li><a href="modules.html"><span>Modules</span></a></li>
  22. <li><a href="namespaces.html"><span>Namespaces</span></a></li>
  23. <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
  24. <li><a href="files.html"><span>Files</span></a></li>
  25. </ul>
  26. </div>
  27. <div id="navrow2" class="tabs2">
  28. <ul class="tablist">
  29. <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
  30. <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
  31. <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
  32. </ul>
  33. </div>
  34. <div id="nav-path" class="navpath">
  35. <ul>
  36. <li class="navelem"><a class="el" href="a00222.html">tbb</a></li><li class="navelem"><a class="el" href="a00084.html">null_rw_mutex</a></li><li class="navelem"><a class="el" href="a00117.html">scoped_lock</a></li> </ul>
  37. </div>
  38. </div><!-- top -->
  39. <div class="header">
  40. <div class="summary">
  41. <a href="#pub-methods">Public Member Functions</a> &#124;
  42. <a href="a00263.html">List of all members</a> </div>
  43. <div class="headertitle">
  44. <div class="title">tbb::null_rw_mutex::scoped_lock Class Reference</div> </div>
  45. </div><!--header-->
  46. <div class="contents">
  47. <p>Represents acquisition of a mutex.
  48. <a href="a00117.html#details">More...</a></p>
  49. <p><code>#include &lt;null_rw_mutex.h&gt;</code></p>
  50. <table class="memberdecls">
  51. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
  52. Public Member Functions</h2></td></tr>
  53. <tr class="memitem:a4b7f9a3976c7744a96e435e027c6262c"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4b7f9a3976c7744a96e435e027c6262c"></a>
  54. &#160;</td><td class="memItemRight" valign="bottom"><b>scoped_lock</b> (<a class="el" href="a00084.html">null_rw_mutex</a> &amp;, bool=true)</td></tr>
  55. <tr class="separator:a4b7f9a3976c7744a96e435e027c6262c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  56. <tr class="memitem:a251d45c5c42ac6c6006d0463c2173bc8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a251d45c5c42ac6c6006d0463c2173bc8"></a>
  57. void&#160;</td><td class="memItemRight" valign="bottom"><b>acquire</b> (<a class="el" href="a00084.html">null_rw_mutex</a> &amp;, bool=true)</td></tr>
  58. <tr class="separator:a251d45c5c42ac6c6006d0463c2173bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  59. <tr class="memitem:a07ed8c0c225fec43b96dcec5b4d4380d"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a07ed8c0c225fec43b96dcec5b4d4380d"></a>
  60. bool&#160;</td><td class="memItemRight" valign="bottom"><b>upgrade_to_writer</b> ()</td></tr>
  61. <tr class="separator:a07ed8c0c225fec43b96dcec5b4d4380d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  62. <tr class="memitem:a899c14f8d077edd2fe7925bb82a94686"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a899c14f8d077edd2fe7925bb82a94686"></a>
  63. bool&#160;</td><td class="memItemRight" valign="bottom"><b>downgrade_to_reader</b> ()</td></tr>
  64. <tr class="separator:a899c14f8d077edd2fe7925bb82a94686"><td class="memSeparator" colspan="2">&#160;</td></tr>
  65. <tr class="memitem:afdb10af455fa8730b1a9bc8d5ca16c41"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdb10af455fa8730b1a9bc8d5ca16c41"></a>
  66. bool&#160;</td><td class="memItemRight" valign="bottom"><b>try_acquire</b> (<a class="el" href="a00084.html">null_rw_mutex</a> &amp;, bool=true)</td></tr>
  67. <tr class="separator:afdb10af455fa8730b1a9bc8d5ca16c41"><td class="memSeparator" colspan="2">&#160;</td></tr>
  68. <tr class="memitem:a57d0613ea1614fe9c7daa0706e56efab"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a57d0613ea1614fe9c7daa0706e56efab"></a>
  69. void&#160;</td><td class="memItemRight" valign="bottom"><b>release</b> ()</td></tr>
  70. <tr class="separator:a57d0613ea1614fe9c7daa0706e56efab"><td class="memSeparator" colspan="2">&#160;</td></tr>
  71. </table>
  72. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  73. <div class="textblock"><p>Represents acquisition of a mutex. </p>
  74. </div><hr/>The documentation for this class was generated from the following file:<ul>
  75. <li>null_rw_mutex.h</li>
  76. </ul>
  77. </div><!-- contents -->
  78. <hr>
  79. <p></p>
  80. Copyright &copy; 2005-2014 Intel Corporation. All Rights Reserved.
  81. <p></p>
  82. Intel, Pentium, Intel Xeon, Itanium, Intel XScale and VTune are
  83. registered trademarks or trademarks of Intel Corporation or its
  84. subsidiaries in the United States and other countries.
  85. <p></p>
  86. * Other names and brands may be claimed as the property of others.