git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1676 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
508b7bc932
commit
10b1366c43
|
@ -174,7 +174,42 @@
|
|||
* eligible for execution then they are executed in a round-robin way, the
|
||||
* CPU time slice constant is configurable. The ready list is a double linked
|
||||
* list of threads ordered by priority.<br><br>
|
||||
* @image html readylist.png
|
||||
* @dot
|
||||
digraph example {
|
||||
rankdir="LR";
|
||||
|
||||
node [shape=square, fontname=Helvetica, fontsize=8,
|
||||
fixedsize="true", width="0.6", height="0.5"];
|
||||
edge [fontname=Helvetica, fontsize=8];
|
||||
|
||||
subgraph cluster_running {
|
||||
node [shape=square, fontname=Helvetica, fontsize=8,
|
||||
fixedsize="true", width="0.6", height="0.5"];
|
||||
currp [label="'currp'\npointer", style="bold"];
|
||||
T4 [label="Tuser(4)\nprio=100"];
|
||||
label = "Currently Running Thread";
|
||||
penwidth = 0;
|
||||
}
|
||||
|
||||
subgraph cluster_rlist {
|
||||
node [shape=square, fontname=Helvetica, fontsize=8,
|
||||
fixedsize="true", width="0.6", height="0.5"];
|
||||
rh [label="ready list\nheader\nprio=0", style="bold"];
|
||||
Ti [label="Tidle\nprio=1"];
|
||||
Tm [label="Tmain\nprio=64"];
|
||||
T1 [label="Tuser(1)\nprio=32"];
|
||||
T2 [label="Tuser(2)\nprio=32"];
|
||||
T3 [label="Tuser(3)\nprio=80"];
|
||||
label = "Threads Ready for Execution";
|
||||
penwidth = 0;
|
||||
}
|
||||
|
||||
currp -> T4
|
||||
rh -> Ti -> T1 -> T2 -> Tm -> T3 -> rh [label="p_next"];
|
||||
rh -> T3 -> Tm -> T2 -> T1 -> Ti -> rh [label="p_prev"];
|
||||
}
|
||||
* @enddot
|
||||
* <br>
|
||||
* Note that the currently running thread is not in the ready list, the list
|
||||
* only contains the threads ready to be executed but still actually waiting.
|
||||
*
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
objects (bug 2952961).
|
||||
- FIX: Wrong prototype in template file chcore.c (bug 2951529)(backported
|
||||
in 1.4.1).
|
||||
- NEW: Added an experimental PowerPC port targeting the SPC563M64/MPC563x
|
||||
- NEW: Added an experimental PowerPC port targeting the SPC563M/MPC563xM
|
||||
ST/Freescale automotive SOCs. The port passed the whole test suite but it
|
||||
will be developed further in next releases.
|
||||
- NEW: Added core variant name macro in chcore.h and platform name in
|
||||
|
|
Loading…
Reference in New Issue