From 1f5bee3d85405d42a7f35caf3ff0c190789afd60 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 7 Nov 2016 16:54:40 +0100 Subject: score: Add and use Thread_Control::is_idle Update #2797. --- cpukit/score/include/rtems/score/thread.h | 2 ++ 1 file changed, 2 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 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; -- cgit v1.2.3