摘要 |
PROBLEM TO BE SOLVED: To provide a method for controlling printing that improves the efficiency of disk controlling. SOLUTION: When one of tasks A 2, B 3, C 4, D 5 issues a system call for requesting a processing of controlling a disk to a printer OS 1, a system call branch operating section 11 determines to branch it to a disk control starting section 14. The disk control starting section 14 wakes up a disk control processing task 15 which is in a condition of 'waiting of a system call for disk-controlling' and sets a parameter of the system call to a management area of the disk control processing task 15. The disk control starting section 14 makes the requesting task to be in a condition of waiting of 'under the system call issuing'. A scheduler 13 schedules each of tasks A 2, B 3, C 4, D 5 and gives an execution right of a CPU to one having the highest task- priority in the tasks A 2, B 3, C 4, D 5 and disk control processing task 15. As the disk controlling is made to be the system call, each task can execute the disk control processing.
|