摘要 |
<p>PROBLEM TO BE SOLVED: To provide a multi-processor system capable of assigning a process to an available CPU while observing deadline time of a driver.SOLUTION: A CPU #0 detects an assignment instruction from a process 1. The CPU #0 acquires a remaining time by removing a CP of a handler B as a processing time of a handler A from a period of time (Dt of handler B) from a point of event occurrence of a handler B which is interruption processing assigned to a CPU #1 to an execution time of the handler B. The CPU #0 determines whether the acquired remaining time exceeds a processing time (CP of process 1) of a processing in which interruption inhibition of the process 1 is defined. When an event of the handler B is generated during the execution of the process 1, the CPU #0 determines that Dt of the handler B is observed. Accordingly, the CPU #0 assigns the process 1 to the CPU #1.</p> |