removed unnecessary global scoping operators.

This commit is contained in:
crs
2001-10-25 22:17:17 +00:00
parent dbdf20e804
commit ef3149cead
8 changed files with 71 additions and 70 deletions

View File

@@ -262,11 +262,11 @@ bool CCondVarBase::wait(
m_mutex->unlock();
// wait for a signal or broadcast
DWORD result = ::WaitForMultipleObjects(n, handles, FALSE, winTimeout);
DWORD result = WaitForMultipleObjects(n, handles, FALSE, winTimeout);
// cancel takes priority
if (n == 3 && result != WAIT_OBJECT_0 + 2 &&
::WaitForSingleObject(handles[2], 0) == WAIT_OBJECT_0)
WaitForSingleObject(handles[2], 0) == WAIT_OBJECT_0)
result = WAIT_OBJECT_0 + 2;
// update the waiter count and check if we're the last waiter