<ahref="chlists_8h.html">Go to the documentation of this file.</a><divclass="fragment"><preclass="fragment"><aname="l00001"></a>00001 <spanclass="comment">/*</span>
<aname="l00041"></a>00041 <spanclass="keyword">typedef</span><spanclass="keyword">struct </span><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a>;
<aname="l00089"></a><aclass="code"href="struct_threads_queue.html#af4a099c245d7ceecdf2f9755d05d0ed0">00089</a><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="struct_thread.html#a49d3270919a6e423a47de20bc57beaa1"title="Next in the list/queue.">p_next</a>; <spanclass="comment">/**< First @p Thread in the queue, or</span>
<aname="l00090"></a>00090 <spanclass="comment"> @p ThreadQueue when empty. */</span>
<aname="l00091"></a><aclass="code"href="struct_threads_queue.html#aefc0a5e3ba3ed03da122337bc13be8fa">00091</a><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="struct_thread.html#a7661cf39bbb29453ce0c48a94708fb69"title="Previous in the queue.">p_prev</a>; <spanclass="comment">/**< Last @p Thread in the queue, or</span>
<aname="l00092"></a>00092 <spanclass="comment"> @p ThreadQueue when empty. */</span>
<aname="l00093"></a>00093 } <aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a>;
<aname="l00100"></a><aclass="code"href="struct_threads_list.html#a9076f9b8ac5d59067adc11faa8998371">00100</a><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *p_next; <spanclass="comment">/**< Last pushed @p Thread on the stack</span>
<aname="l00101"></a>00101 <spanclass="comment"> list, or pointer to itself if</span>
<aname="l00103"></a>00103 } <aclass="code"href="struct_threads_list.html"title="Generic threads single link list, it works like a stack.">ThreadsList</a>;
<aname="l00110"></a>00110 <spanclass="preprocessor"></span><spanclass="keywordtype">void</span><aclass="code"href="group__internals.html#ga02226b866ae704435baf2ffe259ba0b2"title="Inserts a thread into a priority ordered queue.">prio_insert</a>(<aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *tp, <aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a> *tqp);
<aname="l00111"></a>00111 <spanclass="keywordtype">void</span><aclass="code"href="group__internals.html#gaf7072f75fdab9dcc5f7b8dcad212965c"title="Inserts a Thread into a queue.">queue_insert</a>(<aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *tp, <aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a> *tqp);
<aname="l00112"></a>00112 <aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="group__internals.html#ga042479f09357fc59befebf4dfe0e9f4a"title="Removes the first-out Thread from a queue and returns it.">fifo_remove</a>(<aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a> *tqp);
<aname="l00113"></a>00113 <aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="group__internals.html#gacacfe77140cab62948e63d898bf4dfba"title="Removes the last-out Thread from a queue and returns it.">lifo_remove</a>(<aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a> *tqp);
<aname="l00114"></a>00114 <aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="group__internals.html#gafff11bcd31d7dc3d1a0a6c66f3fc6ec9"title="Removes a Thread from a queue and returns it.">dequeue</a>(<aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *tp);
<aname="l00115"></a>00115 <spanclass="keywordtype">void</span><aclass="code"href="group__internals.html#ga5818ce2d363d36402baece614b06e41b"title="Pushes a Thread on top of a stack list.">list_insert</a>(<aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *tp, <aclass="code"href="struct_threads_list.html"title="Generic threads single link list, it works like a stack.">ThreadsList</a> *tlp);
<aname="l00116"></a>00116 <aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="group__internals.html#gad9aa523aebdaeefa3cc4a311bc210e8a"title="Pops a Thread from the top of a stack list and returns it.">list_remove</a>(<aclass="code"href="struct_threads_list.html"title="Generic threads single link list, it works like a stack.">ThreadsList</a> *tlp);
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>