diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-07-11 05:38:01 +1000 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-07-11 05:38:01 +1000 |
| commit | 59cac783f5ba12a47308b05b87d5cfa769473a49 (patch) | |
| tree | 35e14bb57fa7fdbaf1573f409c3289e1ddb9c0c1 /lib/getpid.c | |
| parent | 99d16e98e04c73e108160d7d70244bafdb33b6fc (diff) | |
Modified the tick_handler interrupt routine in timer.s so that it no
longer calls reschedule() directly. It now calls sched_tick() so that
the scheduler can make it's own decisions relating to handling the timer
interrupt.
The reschedule() function now *actually* implements a basic round-robin
scheduling algorithm that iterates through the list of tasks. This is
still a temporary algorithm but at least it now includes *all* runnable
processes instead of switching back and forth between process 1 and 2.
Diffstat (limited to 'lib/getpid.c')
0 files changed, 0 insertions, 0 deletions
