Method of task execution environment switch in multitask system
First Claim
1. A task execution environment switching method in a multitask system, comprising the steps of:
- a first step for evacuating current task execution environment information of a task-exclusive-use execution environment stack to a context evacuating region, as pre-processing for calling processing of a sub-function from a main function within said task;
a second step for storing execution environment information of said sub-function in a execution environment stack for function of said task from an execution environment table of said task;
a third step for calling said sub-function from said main function within said task; and
a fourth step for storing said task execution environment information evacuated to said context evacuating region in said first step in a task of said task-exclusive-use execution environment stack, when processing is returned from said sub-function to said main function.
2 Assignments
0 Petitions
Accused Products
Abstract
A task execution environment switching method in a multitask system, which comprises the steps of: a first step for evacuating current task execution environment information in a stack-exclusive-use execution environment stack to a context evacuating region, as pre-processing for calling processing of a sub-function from a main function within the task; a second step for storing execution environment information of the sub-function in a execution environment stack for function of the task from an execution environment table of the task; a third step for calling the sub-function from the main function within the task; and a fourth step for storing the task execution environment information evacuated in the context evacuating region in the first step in a task of the task-exclusive-use execution environment stack, when processing is returned from the sub-function to the main function.
-
Citations
7 Claims
-
1. A task execution environment switching method in a multitask system, comprising the steps of:
-
a first step for evacuating current task execution environment information of a task-exclusive-use execution environment stack to a context evacuating region, as pre-processing for calling processing of a sub-function from a main function within said task; a second step for storing execution environment information of said sub-function in a execution environment stack for function of said task from an execution environment table of said task; a third step for calling said sub-function from said main function within said task; and a fourth step for storing said task execution environment information evacuated to said context evacuating region in said first step in a task of said task-exclusive-use execution environment stack, when processing is returned from said sub-function to said main function. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
Specification