This commit is contained in:
lizzie
2026-03-10 19:58:46 +00:00
committed by crueter
parent 14a3799a03
commit ef42d03bec
5 changed files with 18 additions and 28 deletions
+3 -5
View File
@@ -104,12 +104,10 @@ void CpuManager::MultiCoreRunGuestThread() {
kernel.CurrentScheduler()->OnThreadStart();
while (true) {
auto* physical_core = &kernel.CurrentPhysicalCore();
while (!physical_core->IsInterrupted()) {
physical_core->RunThread(thread);
physical_core = &kernel.CurrentPhysicalCore();
auto& physical_core = kernel.CurrentPhysicalCore();
while (!physical_core.IsInterrupted()) {
physical_core.RunThread(thread);
}
HandleInterrupt();
}
}