在Ada中使用语法 [英] Use of Pragmas in Ada
本文介绍了在Ada中使用语法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以向我提供一些简单的工作示例,以说明Ada 2005中的用法说明吗?我了解杂项习惯于优先处理流程,只是我没有碰到可行的示例!
非常感谢!
解决方案
搜索 comp.lang.ada
,以获取有关 priorities
有几个有趣的示例。 这个似乎特别适合您的问题。 / p>
附录:其他两个示例性来源是 Ada 95的理论和 Rationale对于Ada 2005
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 !
解决方案
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
这篇关于在Ada中使用语法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文