diff options
author | Danny Holman <dholman@gymli.org> | 2024-03-28 23:19:08 -0500 |
---|---|---|
committer | Danny Holman <dholman@gymli.org> | 2024-03-28 23:19:08 -0500 |
commit | 41cff28f5447b5f669db62ce2a73be98bc5bce37 (patch) | |
tree | 962d7f5ee66b061a2d9d0973cf3bbb551b9bbab6 /include/kernel/io.h | |
parent | kernel: add a basic thread scheduler (diff) | |
download | box-41cff28f5447b5f669db62ce2a73be98bc5bce37.tar.gz box-41cff28f5447b5f669db62ce2a73be98bc5bce37.tar.zst box-41cff28f5447b5f669db62ce2a73be98bc5bce37.zip |
kernel: sched: add a flag that is set on init
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions