<p>Three threads are involved in the classic priority inversion scenario, a medium priority thread tries to starve an high priority thread by blocking a low priority thread into a mutex lock zone.<br/>
The test expects the threads to reach their goal in increasing priority order by rearranging their priorities in order to avoid the priority inversion trap.</p>
<h2>Scenario</h2>
<p>This weird looking diagram should explain what happens in the test case: </p>
xL - Lock operation on mutex <spanclass="charliteral">'x'</span>
xUn - Unlock operation on mutex <spanclass="charliteral">'x'</span> with priority returning to level <spanclass="charliteral">'n'</span>
G - Goal
^ - Priority transition (boost or <spanclass="keywordflow">return</span>).
Generated on Sun Nov 28 2010 14:09:56 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>