diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-07 09:04:45 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-21 08:59:32 +0200 |
commit | 5d6b21198140f406a71599a2d388b6ec47ee3337 (patch) | |
tree | 0b23d99cc9055cea777bf167d518eda1c305bc27 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Rework thread priority management (diff) | |
download | rtems-5d6b21198140f406a71599a2d388b6ec47ee3337.tar.bz2 |
score: Add scheduler node table for each thread
Update #2556.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 393d431e0e..17aeacde29 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -271,7 +271,6 @@ typedef struct { * priority and ask for help operations. */ Scheduler_Node *own_node; -#endif /** * @brief The scheduler node of this thread. @@ -284,12 +283,18 @@ typedef struct { */ Scheduler_Node *node; -#if defined(RTEMS_SMP) /** * @brief The processor assigned by the current scheduler. */ struct Per_CPU_Control *cpu; #endif + + /** + * @brief The scheduler nodes of this thread. + * + * Each thread has a scheduler node for each scheduler instance. + */ + Scheduler_Node *nodes; } Thread_Scheduler_control; /** |