summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulersmp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-10 14:27:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-07-10 15:29:57 +0200
commit27783f6ca8683eaf4826e777963c32a63f55da31 (patch)
tree45a3294eb7cfd6bae51e1cb1661f699b0e23d6e8 /cpukit/score/include/rtems/score/schedulersmp.h
parentscore: Fix assertions (diff)
downloadrtems-27783f6ca8683eaf4826e777963c32a63f55da31.tar.bz2
score: Fix scheduler helping implementation
Do not extract the idle threads from the ready set so that there is always a thread available for comparison.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulersmp.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulersmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/schedulersmp.h b/cpukit/score/include/rtems/score/schedulersmp.h
index a58417a268..9e11488584 100644
--- a/cpukit/score/include/rtems/score/schedulersmp.h
+++ b/cpukit/score/include/rtems/score/schedulersmp.h
@@ -54,6 +54,10 @@ typedef struct {
/**
* @brief Chain of the available idle threads.
+ *
+ * Idle threads are used for the scheduler helping protocol. It is crucial
+ * that the idle threads preserve their relative order. This is the case for
+ * this priority based scheduler.
*/
Chain_Control Idle_threads;
} Scheduler_SMP_Context;