摘要 |
PROBLEM TO BE SOLVED: To provide a task execution control device by which a task with high priority whose time for execution is determined beforehand is executed at the determined timing without being influenced by exclusive access control of shared resources or reversal of priority phenomenon. SOLUTION: In a semaphore control unit 131, a resource release predicted time for a task C is compared with a next starting scheduled time for a task A when the shared resource for the task C is acquired. When the former is earlier than the latter, the exclusive use of the shared resource is allowed for the task C. Furthermore, when an interrupting process by a third task B is generated while the shared resource is being exclusively used by the task C, control of a scheduling part 11 is carried out by a priority control unit 132, so that the priority of the task C at the point when the accumulation of 'interrupting process time' for the task B reaches a tolerance limit is raised to the same priority as for the task A.
|