KEDS gate, CREATE_TASK function
The CREATE_TASK function of the KEDS gate is used to allocate a new executable task from the task table. A task table is a logical block of tasks, allocated together by the Kernel domain, and used to simplify the process of dynamically adding new tasks. Task tables are chained together, and vary in number.
Input Parameters
- ALLOCATION
- indicates whether or not the returned task should be allocated from those tasks pre-allocated for MXT.
- Values for the parameter are:
- DYNAMIC
- STATIC
- ATTACH_TOKEN
- is the 31-bit token that uniquely identifies the request. This token is returned on the corresponding TASK_REPLY to identify the request.
- TRANSACTION_BUILD
- Optional Parameter
- Values for the parameter are:
- BUILD
- TERMINATE
Output Parameters
- REASON
- The following values are returned when RESPONSE is DISASTER:
- INQUIRE_ERROR
- TRANSACTION_ABEND
- TRANSACTION_ERROR_MSG
- The following values are returned when RESPONSE is EXCEPTION:
- ADD_TASK_ERROR
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- TASK_TOKEN
- is the 31-bit token that uniquely identifies the newly created task.