摘要 |
PROBLEM TO BE SOLVED: To expedite execution of a data pump and two task controllers of a modem without using a full-scale RTOS (real time operating system). SOLUTION: In the first task, a plurality of subtasks are processed in round- robin fashion. When an interruption caused by outer events occurres during the first task execution, and if the second task is required to be initiated, a parameter to restore the first task execution is stored and execution point is switched from the current point of the first task to the head of the second task. In the second task, when the second task is completed, execution point is switched to the point of interruption in the first task based on the point information including where a parameter has changed into the parameter stored for the first task restoration. When an interruption caused by outer event occurres on a specific subtask, switching parameters is suspended. COPYRIGHT: (C)2004,JPO
|