PowerAda 89

From OC Systems Wiki!
< PowerAda:APPENDIX C. Implementation Characteristics‎ | Annex M
Revision as of 10:20, 24 April 2019 by imported>WikiVisor
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

(89) Implementation-defined aspects of Task_Attributes.

See C.7.2(19).

A copy of each non-default attribute passed to SET_VALUE is made on the heap. When the first non-default attribute is set for a given instance of TASK_ATTRIBUTES an array is allocated from the heap. All memory allocated by TASK_ATTRIBUTES is deallocated when is no longer needed.

There are no limits (except total system memory) to the size of attributes that can be declared for a given task A maximum of 32 instances of TASK_ATTRIBUTES can be instantiated in a given partition.