mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-22 03:40:09 +00:00
114 lines
7.1 KiB
HTML
114 lines
7.1 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.7.1 -->
|
|
<div class="navigation" id="top">
|
|
<div class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
|
<li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Data 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>Semaphore Struct Reference<br/>
|
|
<small>
|
|
[<a class="el" href="group__semaphores.html">Semaphores</a>]</small>
|
|
</h1> </div>
|
|
</div>
|
|
<div class="contents">
|
|
<!-- 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 <<a class="el" href="chsem_8h_source.html">chsem.h</a>></code></p>
|
|
<div class="dynheader">
|
|
Collaboration diagram for Semaphore:</div>
|
|
<div class="dyncontent">
|
|
<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" id="node2" href="struct_threads_queue.html" title="Generic threads bidirectional linked list header and element." alt="" coords="107,6,200,98"/>
|
|
<area shape="rect" id="node6" href="struct_thread.html" title="Structure representing a thread." alt="" coords="107,177,200,562"/>
|
|
<area shape="rect" id="node4" href="struct_threads_list.html" title="Generic threads single link list, it works like a stack." alt="" coords="179,627,256,704"/>
|
|
</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> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_semaphore.html#a26051a38c22dc11a7a2bf37496d8e906">s_queue</a></td></tr>
|
|
<tr><td class="mdescLeft"> </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__types.html#ga090b3bab5602157ebf706a44041dc05e">cnt_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_semaphore.html#ae42955cd2346167681e0fd6a136369cd">s_cnt</a></td></tr>
|
|
<tr><td class="mdescLeft"> </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__types.html#ga090b3bab5602157ebf706a44041dc05e">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 Oct 24 2010 09:40:49 for ChibiOS/RT by <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>
|