diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-08-01 11:12:52 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-08 09:55:27 +0200 |
commit | e27421f38661ea18b2a663776ad524afadeba607 (patch) | |
tree | 798d9620df6f33ca884c4ce81cbc5a6cb5abd4c3 /cpukit/score/include/rtems/score/thread.h | |
parent | score: Optimize thread queue enqueue (diff) | |
download | rtems-e27421f38661ea18b2a663776ad524afadeba607.tar.bz2 |
score: Move scheduler node to own header file
This makes it possible to add scheduler nodes to structures defined in
<rtems/score/thread.h>.
Update #2556.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 6104ba03d7..2df0269491 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -30,6 +30,7 @@ #include <rtems/score/object.h> #include <rtems/score/priority.h> #include <rtems/score/resource.h> +#include <rtems/score/schedulernode.h> #include <rtems/score/stack.h> #include <rtems/score/states.h> #include <rtems/score/threadq.h> @@ -46,8 +47,6 @@ struct Per_CPU_Control; struct Scheduler_Control; -struct Scheduler_Node; - struct User_extensions_Iterator; #ifdef __cplusplus @@ -653,7 +652,7 @@ typedef struct { * This field is constant after initialization. It is used by change * priority and ask for help operations. */ - struct Scheduler_Node *own_node; + Scheduler_Node *own_node; #endif /** @@ -665,7 +664,7 @@ typedef struct { * On SMP configurations the scheduler helping protocol may change this * field. */ - struct Scheduler_Node *node; + Scheduler_Node *node; #if defined(RTEMS_SMP) /** |