Remove compare on "result >= WAIT_OBJECT_0" (Issue 311)
parent
639a11c74a
commit
1c30ffc64a
2
wait.cpp
2
wait.cpp
|
|
@ -372,7 +372,7 @@ bool WaitObjectContainer::Wait(unsigned long milliseconds)
|
|||
lastTime = timeAfterWait;
|
||||
}
|
||||
#endif
|
||||
if (result >= WAIT_OBJECT_0 && result < WAIT_OBJECT_0 + m_handles.size())
|
||||
if (result < WAIT_OBJECT_0 + m_handles.size())
|
||||
{
|
||||
if (result == m_lastResult)
|
||||
m_sameResultCount++;
|
||||
|
|
|
|||
Loading…
Reference in New Issue