<areashape="rect"id="node2"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element."alt=""coords="94,881,188,973"/><areashape="rect"id="node4"href="struct_threads_list.html"title="Generic threads single link list, it works like a stack."alt=""coords="256,739,333,816"/><areashape="rect"id="node13"href="struct_mutex.html"title="Mutex structure."alt=""coords="102,1037,180,1144"/><areashape="rect"id="node9"href="structcontext.html"title="Platform dependent part of the Thread structure."alt=""coords="166,147,225,224"/><areashape="rect"id="node11"href="structintctx.html"title="System saved context."alt=""coords="172,5,220,83"/></map>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight"><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a> consumed time in ticks. <ahref="#a723aab9bf515e789c3d9ea81f9dbd6a0"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Pointer to a generic "wait" object. <ahref="#a68576b6e21463649ca81dfa9d4261251"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">List of the mutexes owned by this thread. <ahref="#a3ae80b4b3de4c7a23c542ca251e1f017"></a><br/></td></tr>
<tr><tdclass="mdescLeft"> </td><tdclass="mdescRight">Memory Pool where the thread workspace is returned. <ahref="#ae0e65912a0c02df5477a3a524cd41d97"></a><br/></td></tr>
<dlclass="note"><dt><b>Note:</b></dt><dd>Not all the listed fields are always needed, by switching off some not needed ChibiOS/RT subsystems it is possible to save RAM space by shrinking the <code><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a></code> structure. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00056">56</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Reimplemented from <aclass="el"href="struct_threads_queue.html#af4a099c245d7ceecdf2f9755d05d0ed0">ThreadsQueue</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00057">57</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__scheduler.html#ga535d58cfb3436c8d4e4586c31c062298">chSchReadyI()</a>, <aclass="el"href="group__internals.html#gafff11bcd31d7dc3d1a0a6c66f3fc6ec9">dequeue()</a>, <aclass="el"href="group__internals.html#ga042479f09357fc59befebf4dfe0e9f4a">fifo_remove()</a>, <aclass="el"href="group__internals.html#ga5818ce2d363d36402baece614b06e41b">list_insert()</a>, <aclass="el"href="group__internals.html#gad9aa523aebdaeefa3cc4a311bc210e8a">list_remove()</a>, <aclass="el"href="group__internals.html#ga02226b866ae704435baf2ffe259ba0b2">prio_insert()</a>, and <aclass="el"href="group__internals.html#gaf7072f75fdab9dcc5f7b8dcad212965c">queue_insert()</a>.</p>
<p>Reimplemented from <aclass="el"href="struct_threads_queue.html#aefc0a5e3ba3ed03da122337bc13be8fa">ThreadsQueue</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00059">59</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__internals.html#gafff11bcd31d7dc3d1a0a6c66f3fc6ec9">dequeue()</a>, <aclass="el"href="group__internals.html#gacacfe77140cab62948e63d898bf4dfba">lifo_remove()</a>, <aclass="el"href="group__internals.html#ga02226b866ae704435baf2ffe259ba0b2">prio_insert()</a>, and <aclass="el"href="group__internals.html#gaf7072f75fdab9dcc5f7b8dcad212965c">queue_insert()</a>.</p>
<p><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a> priority. </p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00061">61</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, <aclass="el"href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <aclass="el"href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, <aclass="el"href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>, <aclass="el"href="group__scheduler.html#gae47a8819a21ef2d521124e76bfb37c95">chSchWakeupS()</a>, <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>, and <aclass="el"href="group__internals.html#ga02226b866ae704435baf2ffe259ba0b2">prio_insert()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00062">62</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00064">64</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__registry.html#gaefff43a49fb7888a596319d67cf01dab">chRegNextThread()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00065">65</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00071">71</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00075">75</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__threads.html#ga50b84e3e82a4e09c1066e1d422e4c780">chThdCreateFromHeap()</a>, <aclass="el"href="group__threads.html#gad3ccc1a6f054c543258ed2fe97ed2f58">chThdCreateFromMemoryPool()</a>, <aclass="el"href="group__threads.html#ga24ab3a3a4d70214ee360867a1c3c75ac">chThdExit()</a>, <aclass="el"href="group__threads.html#gaa22f80040cf192015be4607f31a0ac80">chThdRelease()</a>, <aclass="el"href="group__threads.html#ga7ea7371fa41598ebd523622587ce3f22">chThdTerminate()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00080">80</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__registry.html#ga55c0a485b40cf4acbfce0dd333f28513">chRegFirstThread()</a>, <aclass="el"href="group__registry.html#gaefff43a49fb7888a596319d67cf01dab">chRegNextThread()</a>, <aclass="el"href="group__threads.html#gabefc5734beaf29ae0bcd52cd41744930">chThdAddRef()</a>, <aclass="el"href="group__threads.html#gaa22f80040cf192015be4607f31a0ac80">chThdRelease()</a>, <aclass="el"href="group__threads.html#ga94a5727ecdbe0f738dfc8e1ede1c3409">chThdWait()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a> consumed time in ticks. </p>
<dlclass="note"><dt><b>Note:</b></dt><dd>This field can overflow. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00093">93</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a> wakeup code. </p>
<dlclass="note"><dt><b>Note:</b></dt><dd>This field contains the low level message sent to the thread by the waking thread or interrupt handler. The value is valid after exiting the <code><aclass="el"href="group__scheduler.html#gae47a8819a21ef2d521124e76bfb37c95"title="Wakes up a thread.">chSchWakeupS()</a></code> function. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00107">107</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__condvars.html#ga5cf1f4697985d81ee089b042391df6fc">chCondBroadcastI()</a>, <aclass="el"href="group__condvars.html#ga7b9d882c348124fed46a1afc3db6c02c">chCondSignalI()</a>, <aclass="el"href="group__condvars.html#gab6357d80b01ed8d225ef1e30a66248f9">chCondWaitS()</a>, <aclass="el"href="group__events.html#ga6c219038c3e618e2142c6e1601997907">chEvtSignalI()</a>, <aclass="el"href="group__messages.html#ga29a48a438e97dc47cb798a84e13764cb">chMsgSend()</a>, <aclass="el"href="group__scheduler.html#gae47a8819a21ef2d521124e76bfb37c95">chSchWakeupS()</a>, <aclass="el"href="group__semaphores.html#gae7972b6b22b80ac09bac5a186277ab81">chSemResetI()</a>, <aclass="el"href="group__semaphores.html#gaca0b70cf495a9cb7569e1cf5b07e2b3d">chSemSignalI()</a>, and <aclass="el"href="group__semaphores.html#ga0dc7b4339506de346d67b4560b271e44">chSemSignalWait()</a>.</p>
<dlclass="note"><dt><b>Note:</b></dt><dd>The thread termination code is stored in this field in order to be retrieved by the thread performing a <code><aclass="el"href="group__threads.html#ga94a5727ecdbe0f738dfc8e1ede1c3409"title="Blocks the execution of the invoking thread until the specified thread terminates then the exit code ...">chThdWait()</a></code> on this thread. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00114">114</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__threads.html#ga24ab3a3a4d70214ee360867a1c3c75ac">chThdExit()</a>, and <aclass="el"href="group__threads.html#ga94a5727ecdbe0f738dfc8e1ede1c3409">chThdWait()</a>.</p>
<dlclass="note"><dt><b>Note:</b></dt><dd>This field is used to get a generic pointer to a synchronization object and is valid when the thread is in one of the wait states. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00121">121</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__condvars.html#gab6357d80b01ed8d225ef1e30a66248f9">chCondWaitS()</a>, <aclass="el"href="group__debug.html#gac7f8f0653faf2e3a93108ff5333821b7">chDbgTrace()</a>, <aclass="el"href="group__messages.html#ga29a48a438e97dc47cb798a84e13764cb">chMsgSend()</a>, <aclass="el"href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, and <aclass="el"href="group__semaphores.html#ga0dc7b4339506de346d67b4560b271e44">chSemSignalWait()</a>.</p>
<dlclass="note"><dt><b>Note:</b></dt><dd>This field is only valied while the thread is in the <code>THD_STATE_WTOREVT</code> or <code>THD_STATE_WTANDEVT</code> states. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00128">128</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__events.html#ga6c219038c3e618e2142c6e1601997907">chEvtSignalI()</a>, <aclass="el"href="group__events.html#ga8c5c6bf310a08cdc836d23f98a87dbf5">chEvtWaitAll()</a>, <aclass="el"href="group__events.html#ga90d702300eecee3d05f83e95b155c3ee">chEvtWaitAllTimeout()</a>, <aclass="el"href="group__events.html#gabd731d3ed2f037b2409e370676575f8d">chEvtWaitAny()</a>, <aclass="el"href="group__events.html#gaf690406ccc833e2c9235e7e2041a6715">chEvtWaitAnyTimeout()</a>, <aclass="el"href="group__events.html#ga77651e22578713ebe355c1213286c2e9">chEvtWaitOne()</a>, and <aclass="el"href="group__events.html#ga2944a7fc82e7cc15537f5a7c04f457d3">chEvtWaitOneTimeout()</a>.</p>
<dlclass="note"><dt><b>Note:</b></dt><dd>All the fields declared in this union are only valid in the specified state or condition and are thus volatile. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00135">135</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__threads.html#ga24ab3a3a4d70214ee360867a1c3c75ac">chThdExit()</a>, <aclass="el"href="group__threads.html#ga94a5727ecdbe0f738dfc8e1ede1c3409">chThdWait()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00141">141</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__messages.html#ga29a48a438e97dc47cb798a84e13764cb">chMsgSend()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p><aclass="el"href="struct_thread.html"title="Structure representing a thread.">Thread</a> message. </p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00145">145</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__messages.html#ga29a48a438e97dc47cb798a84e13764cb">chMsgSend()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00151">151</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__events.html#ga6c219038c3e618e2142c6e1601997907">chEvtSignalI()</a>, <aclass="el"href="group__events.html#ga8c5c6bf310a08cdc836d23f98a87dbf5">chEvtWaitAll()</a>, <aclass="el"href="group__events.html#ga90d702300eecee3d05f83e95b155c3ee">chEvtWaitAllTimeout()</a>, <aclass="el"href="group__events.html#gabd731d3ed2f037b2409e370676575f8d">chEvtWaitAny()</a>, <aclass="el"href="group__events.html#gaf690406ccc833e2c9235e7e2041a6715">chEvtWaitAnyTimeout()</a>, <aclass="el"href="group__events.html#ga77651e22578713ebe355c1213286c2e9">chEvtWaitOne()</a>, <aclass="el"href="group__events.html#ga2944a7fc82e7cc15537f5a7c04f457d3">chEvtWaitOneTimeout()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<dlclass="note"><dt><b>Note:</b></dt><dd>The list is terminated by a <code>NULL</code> in this field. </dd></dl>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00158">158</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__condvars.html#gab6357d80b01ed8d225ef1e30a66248f9">chCondWaitS()</a>, <aclass="el"href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5">chMtxLockS()</a>, <aclass="el"href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <aclass="el"href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, <aclass="el"href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00162">162</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669">chMtxUnlock()</a>, <aclass="el"href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75">chMtxUnlockAll()</a>, <aclass="el"href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96">chMtxUnlockS()</a>, and <aclass="el"href="group__threads.html#ga4f6ae58bb3cedfc03aacde6d49e49d35">init_thread()</a>.</p>
<p>Memory Pool where the thread workspace is returned. </p>
<p>Definition at line <aclass="el"href="chthreads_8h_source.html#l00168">168</a> of file <aclass="el"href="chthreads_8h_source.html">chthreads.h</a>.</p>
<p>Referenced by <aclass="el"href="group__threads.html#gad3ccc1a6f054c543258ed2fe97ed2f58">chThdCreateFromMemoryPool()</a>, and <aclass="el"href="group__threads.html#gaa22f80040cf192015be4607f31a0ac80">chThdRelease()</a>.</p>
Generated on Sun Nov 28 2010 14:09:59 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>