摘要 |
A periodical task execution apparatus executes one or more periodical tasks to be executed in a predetermined sequence, including a comparison section configured to compare, when an activation request for any one of the one or more periodical tasks is made, priority of a task 1 executing when the activation request is made and priority of a periodical task specified by the activation request; a context register switching section configured to switch a register to be referred to for context to a periodical task context register if it is found as a result of the comparison that the priority of the periodical task is higher than the priority of the executing task; and a context setting section configured to load the periodical task context register with context of a periodical task to be executed next according to the predetermined sequence when execution of the periodical task is ended.
|