summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/schedulernode.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/schedulernode.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/schedulernode.h')
-rw-r--r--cpukit/score/include/rtems/score/schedulernode.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/schedulernode.h b/cpukit/score/include/rtems/score/schedulernode.h
index 2954db5350..8d00a43d31 100644
--- a/cpukit/score/include/rtems/score/schedulernode.h
+++ b/cpukit/score/include/rtems/score/schedulernode.h
@@ -138,6 +138,18 @@ typedef struct Scheduler_Node {
* not SCHEDULER_HELP_YOURSELF.
*/
struct _Thread_Control *accepts_help;
+
+ /**
+ * @brief Block to register and manage this scheduler node in the thread
+ * control block of the owner of this scheduler node.
+ */
+ struct {
+ /**
+ * @brief Node to add this scheduler node to
+ * Thread_Control::Scheduler::Wait_nodes.
+ */
+ Chain_Node Wait_node;
+ } Thread;
#endif
/**