readme

来自「RTEMS (Real-Time Executive for Multiproc」· 代码 · 共 24 行

TXT
24
字号
##  $Id: README,v 1.1 1997/06/03 18:38:40 joel Exp $#This is a "problem" test in Ada versus the C equivalent.  In C,we used macros to :  + declare a LOT of local integer and floating point variables  + load them with values  + check them at certain times  + to avoid floating point operations on CPUs w/o hardware supportThe macros are not equivalent to subprograms doing the same thing.We are trying to insure that the register set is fully utilized andchecking that it survives context switches.  If the routines aresubprograms, then calling conventions and scoping rules apply.  Thusthe variables do not exist throughout the entire life of the taskas in the C test.It seems to point out that although the conditional compilationand macro capabilities of C are often abused, they do providecapabilities which are difficult if not impossible to mimic entirelywith subprograms.  

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?