mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 14:41:54 +01:00
Warn when RemoveThread
is called on a non-inserted thread
This commit is contained in:
parent
3a6f205e6f
commit
e192d4e5c1
@ -273,6 +273,8 @@ namespace skyline::kernel {
|
|||||||
if (it != core.queue.end())
|
if (it != core.queue.end())
|
||||||
(*it)->scheduleCondition.notify_one(); // We need to wake the thread at the front of the queue, if we were at the front previously
|
(*it)->scheduleCondition.notify_one(); // We need to wake the thread at the front of the queue, if we were at the front previously
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
Logger::Warn("T{} was not in C{}'s queue", thread->id, thread->coreId);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
thread->insertThreadOnResume = false;
|
thread->insertThreadOnResume = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user