From 913864c0b85c9e94140515a44e79d13e999ff9a2 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 13 Oct 2016 08:57:29 +0200 Subject: score: Use scheduler instance specific locks Update #2556. --- cpukit/score/include/rtems/score/scheduler.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cpukit/score/include/rtems/score/scheduler.h') diff --git a/cpukit/score/include/rtems/score/scheduler.h b/cpukit/score/include/rtems/score/scheduler.h index d13277ab53..07e415a57e 100644 --- a/cpukit/score/include/rtems/score/scheduler.h +++ b/cpukit/score/include/rtems/score/scheduler.h @@ -237,6 +237,11 @@ typedef struct { * this structure at the begin of its context structure. */ typedef struct Scheduler_Context { + /** + * @brief Lock to protect this scheduler instance. + */ + ISR_LOCK_MEMBER( Lock ) + #if defined(RTEMS_SMP) /** * @brief Count of processors owned by this scheduler instance. -- cgit v1.2.3