BRIEF DESCRIPTION OF THE DRAWINGS
Other objects of the present invention will become clear from the following description of the preferred embodiments and the appended claims. Those skilled in the art will appreciate that there are many other advantages of the present invention by embodying the present invention.
FIG. 1 is a block diagram showing the structure of a multitask system in a first embodiment of the present invention;
FIG. 2 is a flowchart of the processing for calling a sub-function from a main function in the first embodiment of the present invention;
FIG. 3 is a flowchart of the sub-function call check processing in the first embodiment of the present invention;
FIG. 4 is an illustration showing how a stack region is used when a context evacuating region indicates the sub-function execution environment information in the first embodiment of the present invention;
FIG. 5 is a flowchart of the processing for providing the exclusive state when calling a sub-function from a main function in a second embodiment of the present invention; and
FIG. 6 is a flowchart illustrating an exclusive control of a common stack region according to a conventional technique.