ter_tsk
ER ter_tsk (ID tskid);
If an activation request has been queued to the target task (the activation request counter is not set to 0x0) when this service call is issued, this service call moves the task to the DORMANT state, decrements the wakeup request counter (by subtracting 0x1 from the wakeup request counter), and then moves the task from the DORMANT state to the READY state.
Note When moving a task to the DORMANT state, this service call initializes the following information to values that are set during task creation.
If the target task has locked a mutex, the locked state is released at the same time (processing equivalent to unl_mtx).