Everything

del_tsk

Outline
Delete task.
C format
 ER      del_tsk (ID tskid);
Parameter(s)
I/O
Parameter
Description
I
 ID      tskid;
ID number of the task.

Explanation
This service call can be called from tasks that belong to Trusted Domain.
This service call deletes the task indicated by tskid.
Return value
Macro
Value
Description
E_OK
0
Normal completion.
E_ID
-18
Invalid ID number.
- tskid < 0
- tskid > VTMAX_TSK
E_CTX
-25
Context error.
- This service call was issued in the CPU locked state.
- This service call was issued from non-task.
- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".
E_MACV
-26
Memory access violation.
- Stack pointer points out of user stack for invoking task.
E_OACV
-27
Object access violation.
- The invoking task does not belong to trusted domain.
E_OBJ
-41
Object state error.
- Specified task is not in the DORMANT state.
E_NOEXS
-42
Non-existent object.
- The task specified by tskid does not exist.