Method of scheduling tasks with priority to interrupted task locking shared resource
Abstract
A computer system including a plurality of shared resources to be used exclusively by a plurality of tasks. Upon occurrence of an interrupt, execution of the task running at that time is suspended to allow the interrupt task to be executed. After execution of the interrupt task, one of the tasks remaining in the execution waiting state is selected for execution. A method of scheduling tasks with priority to the task locking a shared resource includes the steps of registering a task identifier of a task being executed upon locking of the task to a resource, invalidating the registered identifier of the task when that task releases the shared resource from the locked state, deciding whether or not a valid task identifier representing the task which was running by locking the shared resource is registered when a task to be executed next is to be selected after execution of the interrupt task, and selecting the task designated by the task identifier, if registered, to thereby select the task as the one to be executed with priority.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 48.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer implemented task scheduling method for use in a computer system including a plurality of shared resources to be used exclusively by a plurality of tasks each of which has a predetermined execution priority, said task scheduling method comprising the steps of: registering a task identifier representing the task which is being executed, upon locking by said task onto one of said shared resources, into a locking task table; deleting the registered task identifier in said locking task table when said task being executed unlocks said one of said shared resources; suspending, upon occ
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 48 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (2)
- Madnick, S. E. Donovan, J. J. Operating Systems McGraw Hill New York, 1974 pp. 209 267.
- Madnick, S. E. Donovan, J. J. Operating Systems McGraw-Hill New York, 1974 pp. 209-267.