Update TODO list; Fix a few errors introduced withe the last changes to the sporadic scheduler

This commit is contained in:
Gregory Nutt
2015-07-26 10:51:04 -06:00
parent 3e88b77540
commit 4bdbc387f5
3 changed files with 17 additions and 7 deletions
+10
View File
@@ -226,6 +226,16 @@ o Task/Scheduler (sched/)
asynchronous event, the budget will fail to decrement and the
task will get a larger share of CPU that is deserves in those
cases.
UPDATE: The hook sched_suspend_scheduler() has been added to
all locations where a thread is suspended. This would be
the place to assess any partial intervals: You would have to
save the current time when the timer is started then when
suspended, you would have to assess the elapsed portion of
that time and subtract that from the TCB timeslice value.
The hook is present, but logic has been implemented.
Status: Open
Priority: Low. I am not aware of any real world issues.