[PATCH v2] Use alias for rtems_task_self() and pthread_self()
Sebastian Huber
sebastian.huber at embedded-brains.de
Thu Apr 29 18:37:11 UTC 2021
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.
--
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