1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-27 17:02:01 +00:00

[HLE/Kernel] Yield when cond var is signaled

This commit is contained in:
gdkchan 2018-04-19 00:00:29 -03:00
parent b9af34f3dd
commit ac80e7d3f9
2 changed files with 3 additions and 1 deletions

View file

@ -111,6 +111,8 @@ namespace Ryujinx.Core.OsHle.Kernel
} }
} }
} }
Process.Scheduler.Yield(Thread);
} }
private void AcquireCondVarValue() private void AcquireCondVarValue()

View file

@ -18,7 +18,7 @@ namespace Ryujinx.Core.OsHle.Kernel
private Process Process; private Process Process;
private AMemory Memory; private AMemory Memory;
private ConcurrentDictionary<long, MutualExclusion> Mutexes; private ConcurrentDictionary<long, MutualExclusion> Mutexes;
private ConcurrentDictionary<long, ConditionVariable> CondVars; private ConcurrentDictionary<long, ConditionVariable> CondVars;
private HashSet<(HSharedMem, long)> MappedSharedMems; private HashSet<(HSharedMem, long)> MappedSharedMems;