PURPOSE: To program the flow of successive executing operations for advancing processing while exchanging an event with another tasks as the flow of continuous processing corresponding to one event by temporarily stopping a task in the middle of event processing. ;CONSTITUTION: Respective tasks 1 and 2 are provided with stacks 3-1 or the like to become saving areas for each event under the charged of those tasks. When execution stop is required for a system in the case of issuing and starting an event D from the task 1 under the processing of an event A to the other task 2, the system stops executing the task 1, saves the executing state in the stack 3-1 corresponding to the event A, turns an executing flag 4-1 to execution inhibition and sets the event A out of the scheduling object of a scheduler 7. When the execution inhibition cancel of the event A at the task 1 is required from the other task 2, the executing flag 4-1 is changed into the permission of execution, the event A is programmed into fee scheduling object, the executing state saved in the stack 3-1 is restored, and the task 1 is restarted from the stopped position.;COPYRIGHT: (C)1995,JPO
展开▼