[PATCH v2] Use alias for rtems_task_self() and pthread_self()

Joel Sherrill joel at rtems.org
Thu Apr 29 18:43:19 UTC 2021


On Thu, Apr 29, 2021 at 1:37 PM Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 29/04/2021 20:12, Joel Sherrill wrote:
>
> > I'm not so ok because now the score has symbols for the Classic API
> > and pthreads in it.
> >
> > The point of putting a method shared by both in the score was to avoid
> > contaminating the score with information about the APIs or the the
> > APIs with knowledge of each other. I think we still need separate
> > files in RTEMS and POSIX to hold the alias declarations.
> The alias must be in the same translation unit as the target definition.
>

Well crap. I guess this is OK then. :(

--joel

>
> --
> 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/20210429/eeed8455/attachment.html>


More information about the devel mailing list