Name: priority | Properties: unique |
|
Arguments
Name | Type | Properties |
priority-value | expression of integer type | constant, non-negative |
|
Directives
,Semantics
The priority clause specifies a hint for the task execution order of tasks generated by the construct on which it appears in the priority-value argument. Among all tasks ready to be executed, higher priority tasks (those with a higher numerical priority-value) are recommended to execute before lower priority ones. The default priority-value when no priority clause is specified is zero (the lowest priority). If a specified priority-value is higher than the max-task-priority-var ICV then the implementation will use the value of that ICV. A program that relies on the task execution order being determined by the priority-value may have unspecified behavior.Cross References