gnuk/ChibiOS_2.0.6/docs/html/struct_mutex.html
2010-11-22 14:53:37 +09:00

135 lines
8.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ChibiOS/RT: Mutex Struct Reference</title>
<link href="custom.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<table style="text-align: center; width: 100%;" border="0"
cellpadding="2" cellspacing="2">
<tbody>
<tr>
<td style="width: 80px;"><img alt="ChibiOS/RT Logo" src="logo_small.png"></td>
<td><big><big>ChibiOS/RT</big></big><br><br>Architecture - Reference Manual - Guides</td>
<td style="width: 80px;"></td>
</tr>
</tbody>
</table>
<hr size="1">
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul class="tablist">
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
</ul>
</div>
</div>
<div class="header">
<div class="summary">
<a href="#pub-attribs">Data Fields</a> </div>
<div class="headertitle">
<h1>Mutex Struct Reference<br/>
<small>
[<a class="el" href="group__mutexes.html">Mutexes</a>]</small>
</h1> </div>
</div>
<div class="contents">
<!-- doxytag: class="Mutex" -->
<p><a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a> structure.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="chmtx_8h_source.html">chmtx.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Mutex:</div>
<div class="dyncontent">
<div class="center"><img src="struct_mutex__coll__graph.png" border="0" usemap="#_mutex_coll__map" alt="Collaboration graph"/></div>
<map name="_mutex_coll__map" id="_mutex_coll__map">
<area shape="rect" id="node3" href="struct_thread.html" title="Structure representing a thread." alt="" coords="118,177,212,562"/>
<area shape="rect" id="node5" href="struct_threads_queue.html" title="Generic threads bidirectional linked list header and element." alt="" coords="153,755,246,847"/>
<area shape="rect" id="node7" href="struct_threads_list.html" title="Generic threads single link list, it works like a stack." alt="" coords="74,627,152,704"/>
<area shape="rect" id="node12" href="structcontext.html" title="Platform dependent part of the Thread structure." alt="" coords="200,20,258,97"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_threads_queue.html">ThreadsQueue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_mutex.html#ad3efd6941b40b1415b5fe40e804d4b6f">m_queue</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queue of the threads sleeping on this <a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a>. <a href="#ad3efd6941b40b1415b5fe40e804d4b6f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_thread.html">Thread</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_mutex.html#ad83ff6b7d8b483f91a080ae8c53a4941">m_owner</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Owner <code><a class="el" href="struct_thread.html" title="Structure representing a thread.">Thread</a></code> pointer or <code>NULL</code>. <a href="#ad83ff6b7d8b483f91a080ae8c53a4941"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="struct_mutex.html">Mutex</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_mutex.html#aa2113b554e5f0deefbc20dbadfd3d1dd">m_next</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Next <code><a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a></code> into an owner-list or <code>NULL</code>. <a href="#aa2113b554e5f0deefbc20dbadfd3d1dd"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a> structure. </p>
<p>Definition at line <a class="el" href="chmtx_8h_source.html#l00043">43</a> of file <a class="el" href="chmtx_8h_source.html">chmtx.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="ad3efd6941b40b1415b5fe40e804d4b6f"></a><!-- doxytag: member="Mutex::m_queue" ref="ad3efd6941b40b1415b5fe40e804d4b6f" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_threads_queue.html">ThreadsQueue</a> <a class="el" href="struct_mutex.html#ad3efd6941b40b1415b5fe40e804d4b6f">Mutex::m_queue</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Queue of the threads sleeping on this <a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a>. </p>
<p>Definition at line <a class="el" href="chmtx_8h_source.html#l00044">44</a> of file <a class="el" href="chmtx_8h_source.html">chmtx.h</a>.</p>
<p>Referenced by <a class="el" href="group__mutexes.html#gac55fe4d05aa6bbeb31594193d2e4d2b6">chMtxInit()</a>, <a class="el" href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, <a class="el" href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <a class="el" href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, and <a class="el" href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>.</p>
</div>
</div>
<a class="anchor" id="ad83ff6b7d8b483f91a080ae8c53a4941"></a><!-- doxytag: member="Mutex::m_owner" ref="ad83ff6b7d8b483f91a080ae8c53a4941" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_thread.html">Thread</a>* <a class="el" href="struct_mutex.html#ad83ff6b7d8b483f91a080ae8c53a4941">Mutex::m_owner</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Owner <code><a class="el" href="struct_thread.html" title="Structure representing a thread.">Thread</a></code> pointer or <code>NULL</code>. </p>
<p>Definition at line <a class="el" href="chmtx_8h_source.html#l00046">46</a> of file <a class="el" href="chmtx_8h_source.html">chmtx.h</a>.</p>
<p>Referenced by <a class="el" href="group__mutexes.html#gac55fe4d05aa6bbeb31594193d2e4d2b6">chMtxInit()</a>, <a class="el" href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, <a class="el" href="group__mutexes.html#gadbf0bd4a36b1f7e33ee41939df32ab78">chMtxTryLockS()</a>, <a class="el" href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <a class="el" href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, and <a class="el" href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>.</p>
</div>
</div>
<a class="anchor" id="aa2113b554e5f0deefbc20dbadfd3d1dd"></a><!-- doxytag: member="Mutex::m_next" ref="aa2113b554e5f0deefbc20dbadfd3d1dd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">struct <a class="el" href="struct_mutex.html">Mutex</a>* <a class="el" href="struct_mutex.html#aa2113b554e5f0deefbc20dbadfd3d1dd">Mutex::m_next</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Next <code><a class="el" href="struct_mutex.html" title="Mutex structure.">Mutex</a></code> into an owner-list or <code>NULL</code>. </p>
<p>Definition at line <a class="el" href="chmtx_8h_source.html#l00048">48</a> of file <a class="el" href="chmtx_8h_source.html">chmtx.h</a>.</p>
<p>Referenced by <a class="el" href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, <a class="el" href="group__mutexes.html#gadbf0bd4a36b1f7e33ee41939df32ab78">chMtxTryLockS()</a>, <a class="el" href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <a class="el" href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, and <a class="el" href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>.</p>
</div>
</div>
</div>
<hr size="1"><address style="text-align: right;"><small>
Generated on Sun Oct 24 2010 09:40:49 for ChibiOS/RT by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.7.1</small></address>
</body>
</html>