diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-13 16:03:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-05-14 14:46:19 +0200 |
commit | beab7329fca655c93743fbb590d00bb4ea5a6d78 (patch) | |
tree | fbeb6b27f887b46a41f84acc64aecfce18686540 /cpukit/score/src/scheduleredf.c | |
parent | score: Scheduler documentation (diff) | |
download | rtems-beab7329fca655c93743fbb590d00bb4ea5a6d78.tar.bz2 |
score: Introduce scheduler nodes
Rename scheduler per-thread information into scheduler nodes using
Scheduler_Node as the base type. Use inheritance for specialized
schedulers.
Move the scheduler specific states from the thread control block into
the scheduler node structure.
Validate the SMP scheduler node state transitions in case RTEMS_DEBUG is
defined.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/scheduleredf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/scheduleredf.c b/cpukit/score/src/scheduleredf.c index 4d1aa62d08..010d053949 100644 --- a/cpukit/score/src/scheduleredf.c +++ b/cpukit/score/src/scheduleredf.c @@ -27,9 +27,9 @@ static int _Scheduler_EDF_RBTree_compare_function ) { Priority_Control value1 = _RBTree_Container_of - (n1,Scheduler_EDF_Per_thread,Node)->thread->current_priority; + (n1,Scheduler_EDF_Node,Node)->thread->current_priority; Priority_Control value2 = _RBTree_Container_of - (n2,Scheduler_EDF_Per_thread,Node)->thread->current_priority; + (n2,Scheduler_EDF_Node,Node)->thread->current_priority; /* * This function compares only numbers for the red-black tree, |