About locks and concurrency rules for SMP systems

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Mar 24 07:33:35 UTC 2021

On 24/03/2021 08:07, Richi Dubey wrote:

> How does RTEMS handle cases where two different cores access 
> scheduler-related functions at the same time? 
Each scheduler has its own lock. There are a couple of more locks involved.
> For ex., Can they access (or modify) the Scheduler_strong_APA_Context 
> <https://git.rtems.org/rtems/tree/cpukit/include/rtems/score/schedulerstrongapa.h#n61> 
> at the same time?
No, unless we have a bug.

embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:

More information about the devel mailing list