Skip to content

Commit

Permalink
misc: I may be stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
GreemDev authored and SomeoneIsWorking committed Feb 1, 2025
1 parent 42fb189 commit 926efa6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Ryujinx.HLE/HOS/Kernel/Common/KResourceLimit.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ class KResourceLimit : KAutoObject
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;

Expand Down

0 comments on commit 926efa6

Please sign in to comment.