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 a90fe2f commit bac3dd2Copy full SHA for bac3dd2
public/tier0/threadtools.h
@@ -1127,11 +1127,7 @@ class PLATFORM_CLASS CThreadRWLock
1127
private:
1128
void WaitForRead();
1129
1130
-#ifdef WIN32
1131
- CThreadFastMutex m_mutex;
1132
-#else
1133
- CThreadMutex m_mutex;
1134
-#endif
+ CThreadMutex m_mutex;
1135
CThreadEvent m_CanWrite;
1136
CThreadEvent m_CanRead;
1137
tier0/threadtools.cpp
@@ -630,8 +630,8 @@ bool CThreadEvent::Set()
630
if (condition)
631
{
632
condition->notify_one();
633
+ condition.reset();
634
}
- condition.reset();
635
636
637
if (m_bAutoReset)
0 commit comments