misc: I may be stupid

metal Canary-1.2.110
Evan Husted 2024-12-21 21:52:04 -06:00
parent f898a5ecf4
commit 4c7cb54ec6
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ namespace Ryujinx.HLE.HOS.Kernel.Common
private readonly long[] _current2;
private readonly long[] _peak;
private readonly Lock _lock = new();
// type is not Lock due to Monitor class usage
private readonly object _lock = new();
private readonly LinkedList<KThread> _waitingThreads;