Need help in understanding some of the existing code in RTEMS

Gedare Bloom gedare at rtems.org
Sat Jul 11 14:05:17 UTC 2020


On Sat, Jul 11, 2020 at 12:31 AM Richi Dubey <richidubey at gmail.com> wrote:
>
> Hi,
>
> I noticed that we have defined all the scheduler non entry-point functions in https://git.rtems.org/rtems/tree/cpukit/score/src/scheduleredfsmp.c as static inline, which makes them invisible inside the doxygen comments (https://docs.rtems.org/doxygen/branches/master/scheduleredfsmp_8c.html).
>
> Is there any reason why we choose to do so?
>

Encapsulation / method hiding. It is normal to define and document
interfaces moreso than implementations.

> Thanks,
> Richi.
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list