摘要 |
<P>PROBLEM TO BE SOLVED: To efficiently use a memory area and prevent inconvenience such as a stack area overflow. <P>SOLUTION: An information processor includes: a scheduler for starting plural tasks according to a predetermined schedule; a shared memory that is used by the plural tasks and in which a predetermined area is set as a stack area; and storage means for storing the amount of stacks used for and the maximum processing time of each task. When starting one of the plural tasks, the scheduler extracts a task that is to be started before the maximum processing time of the one task elapses and can interrupt the one task. When the amount of stacks used in which the amount of stacks used for the extracted task is added with the amount of stacks used for the one task exceeds a stack area capacity, the scheduler stops starting the one task. <P>COPYRIGHT: (C)2012,JPO&INPIT |