Patent ID: 8555285

Claim:
A non-transitory computer-readable recording medium that stores a task control computer program including computer executable instructions which when executed by a computer, cause the computer to execute an operation, comprising: executing a General-Purpose operating system as a task under control of a Real-Time operating system; determining whether a non-idle process is included in processes to be executed under control of the General-Purpose operating system based on a process identifier that indicates whether a process is the non-idle process or not and is stored in a process control block (PCB) of processes to be executed under control of the General-Purpose operating system, the non-idle process being a process waiting for execution under control of the General-Purpose operating system, other than an idle process executed when the General-Purpose operating system proceeds to an idle state; and changing a priority of the task to a higher priority by reading the higher priority stored in a storage unit as a system parameter and setting the priority of the task to the higher priority when it is determined at the determining that the processes to be executed under control of the General-Purpose operating system include the non-idle process, the higher priority being set higher than a primary priority of the task to execute the General-Purpose operating system under control of which the non-idle process is executed, and further changing priority of the task to the primary priority lower than the higher priority by reading the primary priority stored in the storage unit as a system parameter and setting the priority of the task to the primary priority after the General-Purpose operating system has been executed at the higher priority for a predetermined period of time, and wherein a system call that executes the determining and the changing is implemented.