Question about Ada threads and RTEMS

Joel Sherrill joel at rtems.org
Sun Jun 4 22:51:04 UTC 2017


On Jun 4, 2017 5:45 PM, "Denis Obrezkov" <denisobrezkov at gmail.com> wrote:

Hello all,
I am interesting, how does RTEMS implement threads for Ada?


Native Ada tasks are POSIX threads just like Linux. This code is all in GCC.


As I can see, it provides its own package RTEMS.Tasks. Also,
I have read that native Ada application will work on RTEMS
without any changes? Can you explain how it is done?


RTEMS.Tasks is an Ads binding to the Classic API so you can CAN write
Classic API tasks in Ada. It is just not the preferred solution.

The history is that at one point LONG LONG ago, there were parallel C and
Ada implementations of rtems. No one used the Ada implementation so only
the C survives.


Also, I found out that there are two 'RTEMS User Manual' here:
https://docs.rtems.org/ one of them is 'RTEMS Development
Environment Guide '. Is it on purpose?


Is it a copy? It should have different contents.

Also, I can't find an Ada Manual in documentation.


Ada rules for the binding are so simple, there is just a chapter to explain
them. The separate Ada manual was dropped.

-- 
Regards, Denis Obrezkov

_______________________________________________
users mailing list
users at rtems.org
http://lists.rtems.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20170604/01f06b0c/attachment-0002.html>


More information about the users mailing list