Didn't I already do this
This commit is contained in:
parent
90a21959e7
commit
5f509a8261
1 changed files with 1 additions and 4 deletions
|
@ -221,10 +221,7 @@ namespace Ryujinx.HLE.HOS.Kernel.Threading
|
||||||
KThread threadToSignal = context.Schedulers[coreToSignal]._currentThread;
|
KThread threadToSignal = context.Schedulers[coreToSignal]._currentThread;
|
||||||
|
|
||||||
// Request the thread running on that core to stop and reschedule, if we have one.
|
// 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.
|
// If the core is idle, ensure that the idle thread is awaken.
|
||||||
context.Schedulers[coreToSignal].NotifyIdleThread();
|
context.Schedulers[coreToSignal].NotifyIdleThread();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue