Somewhat better implementation of thread yield
This commit is contained in:
parent
7f5a8effbb
commit
aa75957ce2
4 changed files with 32 additions and 22 deletions
|
@ -87,7 +87,7 @@ namespace Ryujinx.Core.OsHle.Kernel
|
|||
|
||||
if (TimeoutNs == 0)
|
||||
{
|
||||
Process.Scheduler.SetReschedule(CurrThread.ActualCore);
|
||||
Process.Scheduler.Yield(CurrThread);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue