x
This commit is contained in:
parent
4a88273db5
commit
0802d56a9b
@ -450,7 +450,8 @@ scheduler(void)
|
||||
c->proc = 0;
|
||||
for(;;){
|
||||
// The most recent process to run may have had interrupts
|
||||
// turned off; turn them on to avoid deadlock.
|
||||
// turned off; enable them to avoid a deadlock if all
|
||||
// processes are waiting.
|
||||
intr_on();
|
||||
|
||||
for(p = proc; p < &proc[NPROC]; p++) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user