mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
[HLE/Kernel] Yield when cond var is signaled
This commit is contained in:
parent
b9af34f3dd
commit
ac80e7d3f9
2 changed files with 3 additions and 1 deletions
|
@ -111,6 +111,8 @@ namespace Ryujinx.Core.OsHle.Kernel
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Process.Scheduler.Yield(Thread);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void AcquireCondVarValue()
|
private void AcquireCondVarValue()
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue