<ahref="chmtx_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_mutex.html#ad3efd6941b40b1415b5fe40e804d4b6f">00044</a><aclass="code"href="struct_threads_queue.html"title="Generic threads bidirectional linked list header and element.">ThreadsQueue</a><aclass="code"href="struct_mutex.html#ad3efd6941b40b1415b5fe40e804d4b6f"title="Queue of the threads sleeping on this Mutex.">m_queue</a>; <spanclass="comment">/**< @brief Queue of the threads sleeping</span>
<aname="l00045"></a>00045 <spanclass="comment"> on this Mutex. */</span>
<aname="l00046"></a><aclass="code"href="struct_mutex.html#ad83ff6b7d8b483f91a080ae8c53a4941">00046</a><aclass="code"href="struct_thread.html"title="Structure representing a thread.">Thread</a> *<aclass="code"href="struct_mutex.html#ad83ff6b7d8b483f91a080ae8c53a4941"title="Owner Thread pointer or NULL.">m_owner</a>; <spanclass="comment">/**< @brief Owner @p Thread pointer or</span>
<aname="l00048"></a><aclass="code"href="struct_mutex.html#aa2113b554e5f0deefbc20dbadfd3d1dd">00048</a><spanclass="keyword">struct </span><aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *<aclass="code"href="struct_mutex.html#aa2113b554e5f0deefbc20dbadfd3d1dd"title="Next Mutex into an owner-list or NULL.">m_next</a>; <spanclass="comment">/**< @brief Next @p Mutex into an</span>
<aname="l00049"></a>00049 <spanclass="comment"> owner-list or @p NULL. */</span>
<aname="l00055"></a>00055 <spanclass="preprocessor"></span><spanclass="keywordtype">void</span><aclass="code"href="group__mutexes.html#gac55fe4d05aa6bbeb31594193d2e4d2b6"title="Initializes s Mutex structure.">chMtxInit</a>(<aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *mp);
<aname="l00056"></a>00056 <spanclass="keywordtype">void</span><aclass="code"href="group__mutexes.html#gafa06b82e3496c44eb7bf31d9f1b655ba"title="Locks the specified mutex.">chMtxLock</a>(<aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *mp);
<aname="l00057"></a>00057 <spanclass="keywordtype">void</span><aclass="code"href="group__mutexes.html#ga2d6350c2d147d1165c359f30798205f5"title="Locks the specified mutex.">chMtxLockS</a>(<aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *mp);
<aname="l00058"></a>00058 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a><aclass="code"href="group__mutexes.html#gaada14e216460dc55e1816234168cf95c"title="Tries to lock a mutex.">chMtxTryLock</a>(<aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *mp);
<aname="l00059"></a>00059 <aclass="code"href="group__types.html#ga7556af1cb61728b53228fa3af1c851de"title="Boolean, recommended the fastest signed.">bool_t</a><aclass="code"href="group__mutexes.html#gadbf0bd4a36b1f7e33ee41939df32ab78"title="Tries to lock a mutex.">chMtxTryLockS</a>(<aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *mp);
<aname="l00060"></a>00060 <aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *<aclass="code"href="group__mutexes.html#gae9ae07165126c9f6c0ce0b17bdb53669"title="Unlocks the next owned mutex in reverse lock order.">chMtxUnlock</a>(<spanclass="keywordtype">void</span>);
<aname="l00061"></a>00061 <aclass="code"href="struct_mutex.html"title="Mutex structure.">Mutex</a> *<aclass="code"href="group__mutexes.html#ga705fa60fb8aa28a6632f693e83f78c96"title="Unlocks the next owned mutex in reverse lock order.">chMtxUnlockS</a>(<spanclass="keywordtype">void</span>);
<aname="l00062"></a>00062 <spanclass="keywordtype">void</span><aclass="code"href="group__mutexes.html#ga853b4ced43d22fb5d82678dd2f0aba75"title="Unlocks all the mutexes owned by the invoking thread.">chMtxUnlockAll</a>(<spanclass="keywordtype">void</span>);
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>