| US 7,472,393 B2 | ||
| Method and system for real time scheduler | ||
| Joseph C. Ballantyne, Redmond, Wash. (US) | ||
| Assigned to Microsoft Corporation, Redmond, Wash. (US) | ||
| Filed on May 16, 2005, as Appl. No. 11/129,309. | ||
| Application 11/129309 is a continuation of application No. 09/961649, filed on Sep. 24, 2001, granted, now 6,957,432. | ||
| Application 09/961649 is a continuation in part of application No. 09/531397, filed on Mar. 21, 2000, granted, now 6,990,669. | ||
| Claims priority of provisional application 60/234965, filed on Sep. 23, 2000. | ||
| Prior Publication US 2005/0229179 A1, Oct. 13, 2005 | ||
| This patent is subject to a terminal disclaimer. | ||
| Int. Cl. G06F 9/46 (2006.01) | ||
| U.S. Cl. 718—108 [718/100; 718/102; 718/107] | 18 Claims |

| 1. For a CPU running a non-real-time operating system, a method of scheduling CPU resources comprising:
a) defining a time slot for which a first real-time thread will be guaranteed said CPU resources for at least a first portion
of said time slot, wherein the timeslot is defined by an APIC which issues a non-maskable interrupt every 1 ms;
b) treating the non-real-time operating system as a second real-time thread;
c) allocating, to the second real-time thread, a second portion of the time slot during which the second real-time thread
will be guaranteed said CPU resources;
d) executing the first real-time thread during said first portion of the time slot; and
e) executing the second real-time thread during said second portion of the time slot;
f) allocating, to one or more other real-time threads, respective one or more other portions of said time slot for which said
one or more other real-time threads are guaranteed said CPU resources; and
g) executing said one or more other real-time threads for their said respective one or more other portions of said time slot.
|