We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea441eb commit 30b64b5Copy full SHA for 30b64b5
src/xrCore/Threading/Lock.hpp
@@ -34,22 +34,22 @@ class XRCORE_API Lock
34
void Enter()
35
{
36
mutex.lock();
37
- ++lockCounter;
+ lockCounter++;
38
}
39
#endif
40
41
bool TryEnter()
42
43
bool locked = mutex.try_lock();
44
if (locked)
45
46
return locked;
47
48
49
void Leave()
50
51
mutex.unlock();
52
- --lockCounter;
+ lockCounter--;
53
54
55
bool IsLocked() const { return lockCounter; }
0 commit comments