摘要 |
PROBLEM TO BE SOLVED: To provide a device, a method and a program for realizing the forced termination of a constraint task. SOLUTION: This information processing device is provided with a stack pointer table 51 having constraint tasks sharing a task stack region between tasks with the same priority order for storing the leading address of the task stack region in every priority order. When the constraint task is started, the task stack region is secured in the system stack region, and the address of the task stack is registered in a region in the stack pointer table corresponding to the priority order of the constraint tasks. When the constraint task is started, and the constraint task processing is ended, the address of the task stack of the constraint task whose priority order is lower than that of the constraint task to be ended is read from the region in the stack pointer table corresponding to the priority order of the constraint task to be ended, and the address of the task stack is stored in a stack pointer. COPYRIGHT: (C)2006,JPO&NCIPI
|