Examples of using Tsk in English and their translations into Japanese
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
Therefore, all suspend requests are released(suscnt is cleared to 0) even if tk_sus_tsk was issued more than once(suscnt≧ 2).
The task priority at task termination by tk_ter_tsk is not used after the task is restarted by tk_sta_tsk.
When tk_slp_tsk is executed for a task whose wakeup queuing count is 0, the queuing count is not made negative but rather the task goes to WAITING state.
The only way to terminate tk_dly_tsk before the delay time elapses is by calling tk_ter_tsk or tk_rel_wai.
Moreover, task suspension(tk_sus_tsk) may cause a deadlock or other problem by stopping without clearing the transient state.
In this case, the task reverts to its original state only when tk_rsm_tsk has been issued for the same number of times as tk_sus_tsk(suscnt).
It is possible, however, for another task to issue tk_sus_tsk for a task that was put in the waiting state by tk_slp_tsk.
If the target task was in some kind of queue(semaphore wait, etc.), executing tk_ter_tsk results in its removal from the queue.
If tk_ext_tsk or tk_exd_tsk is called for a task in RUNNING state while interrupts or dispatching is disabled, error code E_CTX is detected.
For example, the task priority is changed by tk_chg_pri and later terminated by tk_ext_tsk, the task priority reverts to the startup priority(itskpri) specified by tk_cre_tsk at startup.
If the task that called tk_dis_dsp issues a system call that may cause the invoking task to be put in WAITING state(e.g., tk_slp_tsk or tk_wai_sem), error code E_CTX is returned.
After a task in RUNNING state or READY state is put in SUSPENDED state by tk_sus_tsk and then resumed by tk_rsm_tsk or tk_frsm_tsk, the task has the lowest precedence among tasks of the same priority.
If tk_sus_tsk was issued more than once for the target task(suscnt≧ 2), the target task remains in SUSPENDED state even after tk_rsm_tsk is executed.
If the task does not wake up within the specified time period, a time-out error occurs and the return value will be E_TMOUT. dly_tsk is used when you want the invoking task to be put in the wait state for a certain period of time.
If the task ends up waiting for the specified period of time, dly_tsk returns normally and the return value will be E_OK. Even with parameters that specify wait for a certain period of time for tslp_tsk and dly_tsk, there are cases where the wait state is forcibly released before the specified period of time passes by.
Tk_ref_tsk Reference Task Status.
Tk_cre_tsk Memory Pool Management Functions.
Q19 Waiting time specified by tslp_tsk and dly_tsk.
This is similar to tk_inf_tsk().
I guess that tsk tsk is also for me.