x
This commit is contained in:
parent
47cdb5f096
commit
e5d80dfee5
@ -473,6 +473,7 @@ scheduler(void)
|
||||
release(&p->lock);
|
||||
}
|
||||
if(found == 0) {
|
||||
// nothing to run; stop running on this core until an interrupt.
|
||||
intr_on();
|
||||
asm volatile("wfi");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user