-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
we need some sort of yield function if we want to do things like #8, or some of the features in #7.
here's how i imagine this working:
- add a new "yield" syscall
- in
SVC_Handler_C
call some logic which chooses the next process to be scheduled - trigger the PendSV interrupt as usual
NOTE:
will need to be careful of:
- the race condition between the two different points of scheduling
- starvation of processes, if yield consistently happens near the end of a time slice (maybe this has to be fixed by moving away from round robin)
Metadata
Metadata
Assignees
Labels
No labels