summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulernodeimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-08 14:07:12 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-09-21 08:59:32 +0200
commit266d3835d883f908c0e4cbf547359d683f72dcc4 (patch)
treeab1cfe81a9574d984d39c1d27d88d3032c31a594 /cpukit/score/include/rtems/score/schedulernodeimpl.h
parentscore: Add scheduler node table for each thread (diff)
downloadrtems-266d3835d883f908c0e4cbf547359d683f72dcc4.tar.bz2
score: Manage scheduler nodes via thread queues
Update #2556.
Diffstat (limited to 'cpukit/score/include/rtems/score/schedulernodeimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulernodeimpl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/schedulernodeimpl.h b/cpukit/score/include/rtems/score/schedulernodeimpl.h
index b0f7d77bbe..cf096aae13 100644
--- a/cpukit/score/include/rtems/score/schedulernodeimpl.h
+++ b/cpukit/score/include/rtems/score/schedulernodeimpl.h
@@ -42,6 +42,7 @@ RTEMS_INLINE_ROUTINE void _Scheduler_Node_do_initialize(
node->Priority.prepend_it = false;
#if defined(RTEMS_SMP)
+ _Chain_Initialize_node( &node->Thread.Wait_node );
node->Wait.Priority.scheduler = scheduler;
node->user = the_thread;
node->help_state = SCHEDULER_HELP_YOURSELF;