diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-07 16:54:40 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-09 15:27:30 +0100 |
commit | 1f5bee3d85405d42a7f35caf3ff0c190789afd60 (patch) | |
tree | d02b999781b8a135d079d23307b4396eeafc51fd /cpukit/score/include | |
parent | score: Rename _Scheduler_Assignments (diff) | |
download | rtems-1f5bee3d85405d42a7f35caf3ff0c190789afd60.tar.bz2 |
score: Add and use Thread_Control::is_idle
Update #2797.
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/thread.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/thread.h b/cpukit/score/include/rtems/score/thread.h index 7711f706f3..95b977e7ba 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -754,6 +754,8 @@ struct _Thread_Control { SMP_lock_Stats Potpourri_stats; #endif + /** This field is true if the thread is an idle thread. */ + bool is_idle; #if defined(RTEMS_MULTIPROCESSING) /** This field is true if the thread is offered globally */ bool is_global; |