diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-10 14:27:42 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-07-10 15:29:57 +0200 |
commit | 27783f6ca8683eaf4826e777963c32a63f55da31 (patch) | |
tree | 45a3294eb7cfd6bae51e1cb1661f699b0e23d6e8 /cpukit/score/include/rtems/score/schedulersmp.h | |
parent | score: Fix assertions (diff) | |
download | rtems-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.h | 4 |
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; |