Update DbgHelper.cpp

typo fixes
This commit is contained in:
Sebastian G 2023-05-28 10:38:58 +02:00 committed by GitHub
parent f8e425c828
commit a6e020b2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -73,7 +73,7 @@ void CSymbolProvider::run()
while (m_bRunning)
{
quint64 OldTime = GetTickCount64() - 3000; // cleanup everythign older than 3 sec
quint64 OldTime = GetTickCount64() - 3000; // cleanup everything older than 3 sec
if (LastCleanUp < OldTime)
{
QMutexLocker Lock(&m_SymLock);
@ -128,7 +128,7 @@ QString CSymbolProvider::Resolve(quint64 pid, quint64 Address)
break;
}
static QAtomicInt FakeHandle = 1; // real handles are divisable b 4
static QAtomicInt FakeHandle = 1; // real handles are divisible by 4
if (Worker.handle == (quint64)INVALID_HANDLE_VALUE)
Worker.handle = FakeHandle.fetchAndAddAcquire(4);
@ -332,4 +332,4 @@ CSymbolProvider* CSymbolProvider::Instance()
}
return g_SymbolProvider;
}
}