[PATCH 12/13] rtems: Add _Modes_Set_timeslice()

Gedare Bloom gedare at rtems.org
Fri Feb 19 16:50:02 UTC 2021


On Thu, Feb 18, 2021 at 11:59 PM Sebastian Huber
<sebastian.huber at embedded-brains.de> wrote:
>
> On 18/02/2021 18:37, Gedare Bloom wrote:
>
> >> +RTEMS_INLINE_ROUTINE void _Modes_Set_timeslice(
> > I don't really like the name. It implies we want to set timeslicing true.
> >
> > _Modes_Update_timeslice() may be better?
> >
> > I just want to avoid that Get/Set implication.
> What about _Modes_Apply_timeslice_to_thread().
>
Yes that is fine.

Just avoiding the typical "set" implies "1" kind of thinking.

> --
> 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/
>


More information about the devel mailing list