Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | kernel: sched: add a flag that is set on init | Danny Holman | 2024-03-28 | 1 | -0/+6 |
| | | | | | | | | 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> | ||||
* | kernel: add a basic thread scheduler | Danny Holman | 2024-03-28 | 1 | -0/+64 |
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> |