early-access version 3069

This commit is contained in:
pineappleEA
2022-10-31 03:36:05 +01:00
parent 5c950d9ec1
commit 963428917c
6 changed files with 53 additions and 22 deletions

View File

@@ -1185,8 +1185,10 @@ void KThread::RequestDummyThreadWait() {
}
void KThread::DummyThreadBeginWait() {
ASSERT(this->IsDummyThread());
ASSERT(!kernel.IsPhantomModeForSingleCore());
if (!this->IsDummyThread() || kernel.IsPhantomModeForSingleCore()) {
// Occurs in single core mode.
return;
}
// Block until runnable is no longer false.
dummy_thread_runnable.wait(false);