Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-03-28 | kernel: sched: add a flag that is set on init | Danny Holman | |
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> | |||
2024-03-28 | kernel: add a basic thread scheduler | Danny Holman | |
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> |