exd_tsk

Outline

Terminate and delete invoking task.

C format

 void    exd_tsk (void);
Parameter(s)

None.

Explanation

This service call terminates the invoking task normally and deletes the task.

The processing performed at task termination is shown in Table 19-4.

The CPU locked state and dispatching disabled state is cancelled.

This service call does not return. In the following cases, this service call causes SYSTEM DOWN.

- This service call was issued from non-task.

- This service call was issued in the status PSW.IPL > kernel interrupt mask level

Note This service call does not have the function to automatically free the resources except the mutex hitherto occupied by the task (e.g., semaphores and memory blocks). Make sure the task frees these resources before it terminates

Return value

None.