Partitioned/clustered scheduling

Gedare Bloom gedare at rtems.org
Fri Nov 22 11:00:01 UTC 2013


On Fri, Nov 22, 2013 at 4:29 AM, Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
> On 2013-11-22 10:23, Sebastian Huber wrote:
>>
>> In the scheduler configuration the user should give a name for the
>> scheduler.
>> The question is should we use a string or a rtems_name?
>
>
> A string has the benefit that the scheduler instance define macro can build
> this name from the structure designator name and this ensures that the names
> are unique.  For example
>
> #define RTEMS_SCHED_DEFINE_FP_SMP(_name) \
> static struct X _name = { \
>         ...
>         .name = # _name, \
>         ...
>
> };
>
And the cost is some (negligible?) storage and processing overhead?

> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list