Search code examples
adataskpragma

Use of Pragmas in Ada


Can anyone supply me with simple working examples which illustrate the use of pragmas in Ada 2005 ? I understand that pragmas are used to priorities processes, just that I have not come across working examples !

Much appreciated !


Solution

  • A search of comp.lang.ada for recent discussions about priorities has several interesting examples. This one seems particularly apropos to your question.

    Addendum: Two other exemplary sources are the Rationale for Ada 95 and Rationale for Ada 2005