[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()

View File

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