fix various bugs
This commit is contained in:
parent
bda5186c0d
commit
00d0f794cf
2 changed files with 9 additions and 14 deletions
12
BUGS
12
BUGS
|
@ -12,15 +12,6 @@ main.c:
|
|||
cpus[0] -> cpus[bcpu]
|
||||
|
||||
proc.c:
|
||||
comment at top of scheduler() should say
|
||||
via longjmp back to the scheduler
|
||||
not
|
||||
via longjmp back to the top of scheduler
|
||||
|
||||
sched should panic if state == RUNNING.
|
||||
|
||||
forkret comment should say "Return" not "return"
|
||||
|
||||
as a consequence of the implementation of proc_kill,
|
||||
any loop calling sleep should check for p->killed
|
||||
and be able to break out with an error return.
|
||||
|
@ -28,9 +19,6 @@ proc.c:
|
|||
can swap procdump up after proc_kill
|
||||
and then have proc_exit and proc_wait on same sheet
|
||||
|
||||
proc_exit should wake up proc[1] if any
|
||||
reparenting was done.
|
||||
|
||||
sched -> switch2scheduler? or just switch?
|
||||
|
||||
factor out switching and scheduling code from process code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue