Age | Commit message (Collapse) | Author |
|
Implement a basic round-robin scheduler and tie it to the PIT timer
interrupt on x86.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a flag that is set to 1 when the scheduler_init function is called.
This allows the PIT interrupt to preempt the current thread and schedule
the next one according to the scheduler's internal agorithm.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add a basic thread scheduler. This should allow the kernel to schedule
threads according to the round robin algorithm.
Signed-off-by: Danny Holman <dholman@gymli.org>
|