Didn't I already do this

This commit is contained in:
riperiperi 2024-05-20 19:44:49 +01:00
parent 90a21959e7
commit 5f509a8261

View file

@ -221,10 +221,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
KThread threadToSignal = context.Schedulers[coreToSignal]._currentThread;
// Request the thread running on that core to stop and reschedule, if we have one.
if (threadToSignal != null)
{
threadToSignal.Context.RequestInterrupt();
}
threadToSignal?.Context.RequestInterrupt();
// If the core is idle, ensure that the idle thread is awaken.
context.Schedulers[coreToSignal].NotifyIdleThread();