Next: Partition Attribute ORB_Tasking_Policy, Previous: Pragma Version, Up: The Configuration Language [Contents][Index]
When multiple remote subprogram calls occur on the same partition, they are handled by several anonymous tasks. These tasks can be allocated dynamically or re-used from a pool of (preallocated) tasks. When a remote subprogram call is completed, the anonymous task can be deallocated or queued in a pool in order to be re-used for further remote subprogram calls. The number of tasks in the anonymous tasks pool can be configured by means of three independent parameters.
REPRESENTATION_CLAUSE ::= for PARTITION_IDENTIFIER'Task_Pool use TASK_POOL_SIZE_ARRAY; TASK_POOL_SIZE_ARRAY ::= (NATURAL_LITERAL, – Task Pool Minimum Size NATURAL_LITERAL, – Task Pool High Size NATURAL_LITERAL); – Task Pool Maximum Size
In order to have only one active remote call at a time, the task pool configuration is declared as follows:
for Partition'Task_Pool use (0, 0, 1);
Next: Partition Attribute ORB_Tasking_Policy, Previous: Pragma Version, Up: The Configuration Language [Contents][Index]