Priority control apparatus and priority control method
First Claim
1. A priority control apparatus which controls priorities of first tasks that run on a first operating system (OS) and second tasks that run on a second OS, said priority control apparatus comprising:
- an execution unit configured to execute the first tasks and the second tasks;
a task priority obtainment unit configured to obtain a priority of an execution task and a priority of a requested task, the execution task being a first task currently being executed by said execution unit, and the requested task being a second task whose execution is being requested to said execution unit;
a priority judgment unit configured to judge whether or not the priority of the requested task is higher than the priority of the execution task; and
a priority changing unit configured to change the priorities of the first tasks to be lower than the priority of the requested task and higher than a priority of a task having a next lower priority to the requested task among the second tasks while maintaining a relative order of the priorities among the first tasks, when the priority of the requested task is higher than the priority of the execution task.
2 Assignments
0 Petitions
Accused Products
Abstract
A priority control apparatus according to the present invention includes: an OS execution unit which executes first tasks that run on a first OS and second tasks that run on a second OS; a task priority obtainment unit which obtains the priority of an execution task which is a first task being executed by the OS execution unit and the priority of a requested task which is a second task whose execution is being requested to the OS execution unit; and a priority changing unit which, in the case where the priority of the requested task is higher than the priority of the execution task, changes the priorities of the first tasks to be lower than the priority of the requested task and higher than the next lower priority to the requested task among the second tasks, while maintaining the relative order of the priorities among the first tasks.
-
Citations
9 Claims
-
1. A priority control apparatus which controls priorities of first tasks that run on a first operating system (OS) and second tasks that run on a second OS, said priority control apparatus comprising:
-
an execution unit configured to execute the first tasks and the second tasks; a task priority obtainment unit configured to obtain a priority of an execution task and a priority of a requested task, the execution task being a first task currently being executed by said execution unit, and the requested task being a second task whose execution is being requested to said execution unit; a priority judgment unit configured to judge whether or not the priority of the requested task is higher than the priority of the execution task; and a priority changing unit configured to change the priorities of the first tasks to be lower than the priority of the requested task and higher than a priority of a task having a next lower priority to the requested task among the second tasks while maintaining a relative order of the priorities among the first tasks, when the priority of the requested task is higher than the priority of the execution task. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A priority control method performed by a priority control apparatus which controls priorities of first tasks that run on a first operating system (OS) and second tasks that run on a second OS and includes an execution unit which executes the first tasks and the second tasks, said priority control method comprising:
-
obtaining a priority of an execution task and a priority of a requested task, the execution task being a first task currently being executed by said execution unit, and the requested task being a second task whose execution is being requested to said execution unit; judging whether or not the priority of the requested task is higher than the priority of the execution task; and changing priorities of the first tasks to be lower than the priority of the requested task and higher than a priority of a task having a next lower priority to the requested task among the second tasks while maintaining a relative order of the priorities among the first tasks, when the priority of the requested task is higher than the priority of the execution task.
-
-
9. A non-transitory computer-readable recording medium having a computer program recorded thereon for causing a priority control apparatus to execute a priority control method, the priority control apparatus controlling priorities of first tasks that run on a first operating system (OS) and second tasks that run on a second OS and including an execution unit which executes the first tasks and the second tasks, the program causing a computer to execute:
-
obtaining a priority of an execution task and a priority of a requested task, the execution task being a first task currently being executed by said execution unit, and the requested task being a second task whose execution is being requested to said execution unit; judging whether or not the priority of the requested task is higher than the priority of the execution task; and changing priorities of the first tasks to be lower than the priority of the requested task and higher than a priority of a task having a next lower priority to the requested task among the second tasks while maintaining a relative order of the priorities among the first tasks, when the priority of the requested task is higher than the priority of the execution task.
-
Specification