Need help in understanding some of the existing code in RTEMS

Richi Dubey richidubey at gmail.com
Sun Jul 12 07:19:32 UTC 2020


I understand now. Thank you.

On Sat, Jul 11, 2020 at 7:35 PM Gedare Bloom <gedare at rtems.org> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200712/450ca90f/attachment.html>


More information about the devel mailing list