pluto icon indicating copy to clipboard operation
pluto copied to clipboard

Improvments to the scheduler

Open DrDeano opened this issue 4 years ago • 0 comments

Currently, the initial scheduler is round robin and preempts the current running task when the RTC fires a interrupt. We would like to improve this by:

  • [ ] Adding time slices to tasks, e.g. will preempt after 10ms instead of whatever the interrupt is set to.
  • [ ] Add the ability for a task to preempt itself, e.g. via a syscall.
  • [ ] Maybe add priorities to tasks
  • [ ] Only run the idle task when there are no tasks to run
  • [ ] Add task termination
  • [ ] Add more queues for:
    • [ ] Ready queue
    • [ ] Waiting: I/O / Sleep

DrDeano avatar Jun 20 '20 21:06 DrDeano