]> git.corax.cc Git - corax/commit
Minor improvements to the scheduler:
authorMatthias Kruk <m@m10k.eu>
Tue, 29 Oct 2019 05:07:20 +0000 (14:07 +0900)
committerMatthias Kruk <m@m10k.eu>
Tue, 29 Oct 2019 05:07:20 +0000 (14:07 +0900)
commit6aaf4185fb379da1f92860097567344038174b84
tree21b044265763e6812ac00fdecabf67a546ccd15d
parent85c705a1ba2cf04161f95bf16c6a80af5ca7fb3c
Minor improvements to the scheduler:
 - Make _unq() return an error if it didn't succeed
 - Add sched_dequeue() function
 - Modify sched_tick() not to put tasks with TASK_STATE_EXIT back onto the ready queue
 - Add a header with prototypes for the functions implemented in sched.c
kernel/core/sched.c
kernel/core/sched.h [new file with mode: 0644]