gnuk/ChibiOS_2.0.2/docs/html/struct_semaphore.html
2010-08-10 12:11:02 +09:00

107 lines
7.0 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: Semaphore 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.6.3 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<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="tabs">
<ul>
<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="contents">
<h1>Semaphore Struct Reference<br/>
<small>
[<a class="el" href="group__semaphores.html">Semaphores</a>]</small>
</h1><!-- doxytag: class="Semaphore" -->
<p><a class="el" href="struct_semaphore.html" title="Semaphore structure.">Semaphore</a> structure.
<a href="#_details">More...</a></p>
<p><code>#include &lt;<a class="el" href="chsem_8h_source.html">chsem.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for Semaphore:</div>
<div class="dynsection">
<div class="center"><img src="struct_semaphore__coll__graph.png" border="0" usemap="#_semaphore_coll__map" alt="Collaboration graph"/></div>
<map name="_semaphore_coll__map" id="_semaphore_coll__map">
<area shape="rect" href="struct_threads_queue.html" title="Generic threads bidirectional linked list header and element." alt="" coords="103,5,196,96"/>
<area shape="rect" href="struct_thread.html" title="Structure representing a thread." alt="" coords="104,173,195,557"/>
<area shape="rect" href="struct_threads_list.html" title="Generic threads single link list, it works like a stack." alt="" coords="175,623,252,697"/>
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>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_semaphore.html#a26051a38c22dc11a7a2bf37496d8e906">s_queue</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queue of the threads sleeping on this semaphore. <a href="#a26051a38c22dc11a7a2bf37496d8e906"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___s_t_m8___c_o_r_e.html#gabd9c89fef81ed2bca6eee5bbad28e251">cnt_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_semaphore.html#ae42955cd2346167681e0fd6a136369cd">s_cnt</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The semaphore counter. <a href="#ae42955cd2346167681e0fd6a136369cd"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p><a class="el" href="struct_semaphore.html" title="Semaphore structure.">Semaphore</a> structure. </p>
<p>Definition at line <a class="el" href="chsem_8h_source.html#l00043">43</a> of file <a class="el" href="chsem_8h_source.html">chsem.h</a>.</p>
<hr/><h2>Field Documentation</h2>
<a class="anchor" id="a26051a38c22dc11a7a2bf37496d8e906"></a><!-- doxytag: member="Semaphore::s_queue" ref="a26051a38c22dc11a7a2bf37496d8e906" 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_semaphore.html#a26051a38c22dc11a7a2bf37496d8e906">Semaphore::s_queue</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Queue of the threads sleeping on this semaphore. </p>
<p>Definition at line <a class="el" href="chsem_8h_source.html#l00044">44</a> of file <a class="el" href="chsem_8h_source.html">chsem.h</a>.</p>
<p>Referenced by <a class="el" href="group__semaphores.html#gafe8fc6155a871074e8017efd908b2c58">chSemInit()</a>, <a class="el" href="group__semaphores.html#gae7972b6b22b80ac09bac5a186277ab81">chSemResetI()</a>, <a class="el" href="group__semaphores.html#ga7ec0cbda23e49e2370e0b91f20baf05e">chSemSignal()</a>, <a class="el" href="group__semaphores.html#gaca0b70cf495a9cb7569e1cf5b07e2b3d">chSemSignalI()</a>, <a class="el" href="group__semaphores.html#ga0dc7b4339506de346d67b4560b271e44">chSemSignalWait()</a>, <a class="el" href="group__semaphores.html#gaa2c0367078533e291d2e889e251d8b67">chSemWaitS()</a>, and <a class="el" href="group__semaphores.html#ga924ec5d191bb8debe8727ae4dd5d6d03">chSemWaitTimeoutS()</a>.</p>
</div>
</div>
<a class="anchor" id="ae42955cd2346167681e0fd6a136369cd"></a><!-- doxytag: member="Semaphore::s_cnt" ref="ae42955cd2346167681e0fd6a136369cd" args="" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group___s_t_m8___c_o_r_e.html#gabd9c89fef81ed2bca6eee5bbad28e251">cnt_t</a> <a class="el" href="struct_semaphore.html#ae42955cd2346167681e0fd6a136369cd">Semaphore::s_cnt</a></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>The semaphore counter. </p>
<p>Definition at line <a class="el" href="chsem_8h_source.html#l00046">46</a> of file <a class="el" href="chsem_8h_source.html">chsem.h</a>.</p>
<p>Referenced by <a class="el" href="group__semaphores.html#gafe8fc6155a871074e8017efd908b2c58">chSemInit()</a>, <a class="el" href="group__semaphores.html#gae7972b6b22b80ac09bac5a186277ab81">chSemResetI()</a>, <a class="el" href="group__semaphores.html#ga7ec0cbda23e49e2370e0b91f20baf05e">chSemSignal()</a>, <a class="el" href="group__semaphores.html#gaca0b70cf495a9cb7569e1cf5b07e2b3d">chSemSignalI()</a>, <a class="el" href="group__semaphores.html#ga0dc7b4339506de346d67b4560b271e44">chSemSignalWait()</a>, <a class="el" href="group__semaphores.html#gaa2c0367078533e291d2e889e251d8b67">chSemWaitS()</a>, and <a class="el" href="group__semaphores.html#ga924ec5d191bb8debe8727ae4dd5d6d03">chSemWaitTimeoutS()</a>.</p>
</div>
</div>
</div>
<hr size="1"><address style="text-align: right;"><small>
Generated on Sun Jul 11 13:13:35 2010 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.6.3</small></address>
</body>
</html>