[PATCH v3] Update Strong APA Scheduler

Richi Dubey richidubey at gmail.com
Fri Jun 11 07:04:51 UTC 2021


It is only used in /cpukit/score/src/schedulerstrongapa.c. Is it okay if I
put it there?

Thanks.

On Fri, Jun 11, 2021 at 12:12 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 11/06/2021 07:45, Richi Dubey wrote:
> > diff --git a/cpukit/include/rtems/score/schedulernodeimpl.h
> b/cpukit/include/rtems/score/schedulernodeimpl.h
> > index 5d6f795912..ba116077c7 100644
> > --- a/cpukit/include/rtems/score/schedulernodeimpl.h
> > +++ b/cpukit/include/rtems/score/schedulernodeimpl.h
> > @@ -46,6 +46,9 @@ extern "C" {
> >   #define SCHEDULER_NODE_OF_WAIT_PRIORITY( node ) \
> >     RTEMS_CONTAINER_OF( node, Scheduler_Node, Wait.Priority )
> >
> > +#define STRONG_SCHEDULER_NODE_OF_CHAIN( node ) \
> > +  RTEMS_CONTAINER_OF( node, Scheduler_strong_APA_Node, Ready_node )
>
> No, sorry, this is also the wrong place. It should be in a strong APA
> scheduler specific file. In how many files is this macro used? Place it
> as local as possible.
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> 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:
> https://embedded-brains.de/datenschutzerklaerung/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20210611/0c9758c7/attachment.html>


More information about the devel mailing list