Kernel: Preempt Single core on redudant yields.
This commit is contained in:
parent
a439cdf22e
commit
d494b074e8
6 changed files with 42 additions and 21 deletions
|
@ -642,6 +642,10 @@ void KernelCore::Suspend(bool in_suspention) {
|
|||
}
|
||||
}
|
||||
|
||||
bool KernelCore::IsMulticore() const {
|
||||
return impl->is_multicore;
|
||||
}
|
||||
|
||||
void KernelCore::ExceptionalExit() {
|
||||
exception_exited = true;
|
||||
Suspend(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue