Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e8cbfa9673da18966abee0a6d7051b87 > files > 1417

glibmm2.4-doc-2.16.1-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>glibmm 2.4: Glib::StaticRecMutex Struct Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html">glibmm Namespaces</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="nav">
<a class="el" href="namespaceGlib.html">Glib</a>::<a class="el" href="structGlib_1_1StaticRecMutex.html">StaticRecMutex</a></div>
<h1>Glib::StaticRecMutex Struct Reference<br>
<small>
[<a class="el" href="group__Threads.html">Threads</a>]</small>
</h1><!-- doxytag: class="Glib::StaticRecMutex" -->Like <a class="el" href="classGlib_1_1RecMutex.html">Glib::RecMutex</a>, but can be defined at compile time.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for Glib::StaticRecMutex:</div>
<div class="dynsection">
<p><center><img src="structGlib_1_1StaticRecMutex__inherit__graph.png" border="0" usemap="#Glib_1_1StaticRecMutex__inherit__map" alt="Inheritance graph"></center>
<map name="Glib_1_1StaticRecMutex__inherit__map">
<area shape="rect" href="classGlib_1_1RecMutex.html" title="Glib::RecMutex" alt="" coords="24,84,141,111"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="structGlib_1_1StaticRecMutex-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">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#f318bffd84f77b39dbfe65bf654c265b">lock</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#d59351bd8e600907511b9ed8a693c1ff">trylock</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#ed1a4127138ac49d4d7f2c27da7c236b">unlock</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#9c1fbb797f5e0b72b885186e67ae6ebd">lock_full</a> (unsigned int depth)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#380a6ae88b358e5b8661a7e765b19e8e">unlock_full</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#8fbcf435aeb1c8797f7f4584cf06e0e6">operator RecMutex&amp;</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">GStaticRecMutex*&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#fc0c434e6d72bc3260346d79e8dd5588">gobj</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Related Functions</h2></td></tr>
<tr><td colspan="2">(Note that these are not member functions.) <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structGlib_1_1StaticRecMutex.html#7bf8f07d9998d8852e5e7632ef908f68">GLIBMM_STATIC_REC_MUTEX_INIT</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Initializer macro for <a class="el" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">Glib::StaticRecMutex</a>.  <a href="#7bf8f07d9998d8852e5e7632ef908f68"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Like <a class="el" href="classGlib_1_1RecMutex.html">Glib::RecMutex</a>, but can be defined at compile time. 
<p>
Use <code>GLIBMM_STATIC_REC_MUTEX_INIT</code> to initialize a <a class="el" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">StaticRecMutex</a>: <div class="fragment"><pre class="fragment"> <a class="code" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">Glib::StaticRecMutex</a> mutex = <a class="code" href="structGlib_1_1StaticRecMutex.html#7bf8f07d9998d8852e5e7632ef908f68" title="Initializer macro for Glib::StaticRecMutex.">GLIBMM_STATIC_REC_MUTEX_INIT</a>;
</pre></div> A <a class="el" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">StaticRecMutex</a> can be used without calling <a class="el" href="group__Threads.html#gb26d01c776801f1fff00753e97af4fc7" title="Initializes the GLib thread system.">Glib::thread_init()</a>, it will silently do nothing then. That will also work when using the implicit conversion to <a class="el" href="classGlib_1_1RecMutex.html">RecMutex</a>&amp;, thus you can safely use <a class="el" href="classGlib_1_1RecMutex_1_1Lock.html" title="Utility class for exception-safe locking of recursive mutexes.">RecMutex::Lock</a> with a <a class="el" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">StaticRecMutex</a>. <hr><h2>Member Function Documentation</h2>
<a class="anchor" name="f318bffd84f77b39dbfe65bf654c265b"></a><!-- doxytag: member="Glib::StaticRecMutex::lock" ref="f318bffd84f77b39dbfe65bf654c265b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Glib::StaticRecMutex::lock           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="d59351bd8e600907511b9ed8a693c1ff"></a><!-- doxytag: member="Glib::StaticRecMutex::trylock" ref="d59351bd8e600907511b9ed8a693c1ff" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Glib::StaticRecMutex::trylock           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ed1a4127138ac49d4d7f2c27da7c236b"></a><!-- doxytag: member="Glib::StaticRecMutex::unlock" ref="ed1a4127138ac49d4d7f2c27da7c236b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Glib::StaticRecMutex::unlock           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="9c1fbb797f5e0b72b885186e67ae6ebd"></a><!-- doxytag: member="Glib::StaticRecMutex::lock_full" ref="9c1fbb797f5e0b72b885186e67ae6ebd" args="(unsigned int depth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Glib::StaticRecMutex::lock_full           </td>
          <td>(</td>
          <td class="paramtype">unsigned int&nbsp;</td>
          <td class="paramname"> <em>depth</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="380a6ae88b358e5b8661a7e765b19e8e"></a><!-- doxytag: member="Glib::StaticRecMutex::unlock_full" ref="380a6ae88b358e5b8661a7e765b19e8e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int Glib::StaticRecMutex::unlock_full           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="8fbcf435aeb1c8797f7f4584cf06e0e6"></a><!-- doxytag: member="Glib::StaticRecMutex::operator RecMutex &amp;" ref="8fbcf435aeb1c8797f7f4584cf06e0e6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::StaticRecMutex::operator <a class="el" href="classGlib_1_1RecMutex.html">RecMutex</a>&amp;           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="fc0c434e6d72bc3260346d79e8dd5588"></a><!-- doxytag: member="Glib::StaticRecMutex::gobj" ref="fc0c434e6d72bc3260346d79e8dd5588" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GStaticRecMutex* Glib::StaticRecMutex::gobj           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="7bf8f07d9998d8852e5e7632ef908f68"></a><!-- doxytag: member="Glib::StaticRecMutex::GLIBMM_STATIC_REC_MUTEX_INIT" ref="7bf8f07d9998d8852e5e7632ef908f68" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GLIBMM_STATIC_REC_MUTEX_INIT<code> [related]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Initializer macro for <a class="el" href="structGlib_1_1StaticRecMutex.html" title="Like Glib::RecMutex, but can be defined at compile time.">Glib::StaticRecMutex</a>. 
<p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="thread_8h.html">thread.h</a></ul>
</div> <!-- end main content -->

<hr><address><small>
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.3 &copy;&nbsp;1997-2001</small></address>
</body>
</html>