From 07a32d193257f150e5237970a7fa864ab71817b3 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 23 Sep 2016 11:57:59 +0200 Subject: score: Add thread scheduler lock Update #2556. --- cpukit/score/include/rtems/score/thread.h | 5 +++++ 1 file changed, 5 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 d839b1f9ec..eb272e6c01 100644 --- a/cpukit/score/include/rtems/score/thread.h +++ b/cpukit/score/include/rtems/score/thread.h @@ -245,6 +245,11 @@ typedef enum { */ typedef struct { #if defined(RTEMS_SMP) + /** + * @brief Lock to protect the scheduler node change requests. + */ + ISR_lock_Control Lock; + /** * @brief The current scheduler state of this thread. */ -- cgit v1.2.3