x
This commit is contained in:
parent
47cdb5f096
commit
e5d80dfee5
1 changed files with 1 additions and 0 deletions
|
@ -473,6 +473,7 @@ scheduler(void)
|
||||||
release(&p->lock);
|
release(&p->lock);
|
||||||
}
|
}
|
||||||
if(found == 0) {
|
if(found == 0) {
|
||||||
|
// nothing to run; stop running on this core until an interrupt.
|
||||||
intr_on();
|
intr_on();
|
||||||
asm volatile("wfi");
|
asm volatile("wfi");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue