x
This commit is contained in:
parent
4a88273db5
commit
0802d56a9b
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue