From ed7a02895e3bedda5edb33c91f0ffc956e9cab06 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 7 Jul 2014 14:26:13 -0500 Subject: Thread Queue Priority Discipline Reimplemented with RBTree --- cpukit/score/include/rtems/score/thread.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpukit/score/include/rtems/score/thread.h') diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 0d9025fdfa..be357895dd 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -304,6 +304,8 @@ typedef struct { typedef struct { /** This field is the object management structure for each proxy. */ Objects_Control Object; + /** This field is used to enqueue the thread on RBTrees. */ + RBTree_Node RBNode; /** This field is the current execution state of this proxy. */ States_Control current_state; /** This field is the current priority state of this proxy. */ @@ -541,6 +543,8 @@ typedef struct { struct Thread_Control_struct { /** This field is the object management structure for each thread. */ Objects_Control Object; + /** This field is used to enqueue the thread on RBTrees. */ + RBTree_Node RBNode; /** This field is the current execution state of this thread. */ States_Control current_state; /** This field is the current priority state of this thread. */ -- cgit v1.2.3