<ahref="chsem_8h.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00044"></a><aclass="code"href="struct_semaphore.html#a26051a38c22dc11a7a2bf37496d8e906">00044</a><aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a><aclass="code"href="struct_semaphore.html#a26051a38c22dc11a7a2bf37496d8e906"title="Queue of the threads sleeping on this semaphore.">s_queue</a>; <spanclass="comment">/**< @brief Queue of the threads sleeping</span>
<aname="l00045"></a>00045 <spanclass="comment"> on this semaphore. */</span>
<aname="l00052"></a>00052 <spanclass="preprocessor"></span><spanclass="keywordtype">void</span><aclass="code"href="group__semaphores.html#gafe8fc6155a871074e8017efd908b2c58"title="Initializes a semaphore with the specified counter value.">chSemInit</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp, <aclass="code"href="group__types.html#ga090b3bab5602157ebf706a44041dc05e"title="Counter, recommended fastest signed.">cnt_t</a> n);
<aname="l00053"></a>00053 <spanclass="keywordtype">void</span><aclass="code"href="group__semaphores.html#ga58e266e609cfd3dbc67f299b3ae9debb"title="Performs a reset operation on the semaphore.">chSemReset</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp, <aclass="code"href="group__types.html#ga090b3bab5602157ebf706a44041dc05e"title="Counter, recommended fastest signed.">cnt_t</a> n);
<aname="l00054"></a>00054 <spanclass="keywordtype">void</span><aclass="code"href="group__semaphores.html#gae7972b6b22b80ac09bac5a186277ab81"title="Performs a reset operation on the semaphore.">chSemResetI</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp, <aclass="code"href="group__types.html#ga090b3bab5602157ebf706a44041dc05e"title="Counter, recommended fastest signed.">cnt_t</a> n);
<aname="l00055"></a>00055 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__semaphores.html#gabc8f7e509870e9b0527a6a68fad71425"title="Performs a wait operation on a semaphore.">chSemWait</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp);
<aname="l00056"></a>00056 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__semaphores.html#gaa2c0367078533e291d2e889e251d8b67"title="Performs a wait operation on a semaphore.">chSemWaitS</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp);
<aname="l00057"></a>00057 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__semaphores.html#ga0bc227311e5be3e3b6e3aee6a68169da"title="Performs a wait operation on a semaphore with timeout specification.">chSemWaitTimeout</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> time);
<aname="l00058"></a>00058 <aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__semaphores.html#ga924ec5d191bb8debe8727ae4dd5d6d03"title="Performs a wait operation on a semaphore with timeout specification.">chSemWaitTimeoutS</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp, <aclass="code"href="group__types.html#gae3e32a98d431a02106616da3071832dd"title="System Time, recommended fastest unsigned.">systime_t</a> time);
<aname="l00059"></a>00059 <spanclass="keywordtype">void</span><aclass="code"href="group__semaphores.html#ga7ec0cbda23e49e2370e0b91f20baf05e"title="Performs a signal operation on a semaphore.">chSemSignal</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp);
<aname="l00060"></a>00060 <spanclass="keywordtype">void</span><aclass="code"href="group__semaphores.html#gaca0b70cf495a9cb7569e1cf5b07e2b3d"title="Performs a signal operation on a semaphore.">chSemSignalI</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sp);
<aname="l00062"></a>00062 <spanclass="preprocessor"></span><aclass="code"href="group__types.html#ga35bcb0c321cd7bc45bf1a11fa17ebdd3"title="Message, use signed pointer equivalent.">msg_t</a><aclass="code"href="group__semaphores.html#ga0dc7b4339506de346d67b4560b271e44"title="Performs atomic signal and wait operations on two semaphores.">chSemSignalWait</a>(<aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *sps, <aclass="code"href="struct_semaphore.html"title="Semaphore structure.">Semaphore</a> *spw);
Generated on Sun Nov 28 2010 14:09:48 for ChibiOS/RT by <ahref="http://www.doxygen.org/index.html"><imgsrc="doxygen.png"alt="doxygen"align="middle"border="0"></a> 1.7.1</small></address>