Searched refs:critsec (Results 1 – 3 of 3) sorted by relevance
44 explicit CriticalSectionScoped(CriticalSectionWrapper& critsec) in CriticalSectionScoped() argument45 : _ptrCritSec(&critsec) in CriticalSectionScoped()50 explicit CriticalSectionScoped(CriticalSectionWrapper* critsec) in CriticalSectionScoped() argument51 : _ptrCritSec(critsec) in CriticalSectionScoped()
25 void AssertIsCriticalSection(CRITICAL_SECTION* critsec) { in AssertIsCriticalSection() argument27 RTL_CRITICAL_SECTION_DEBUG* debug = critsec->DebugInfo; in AssertIsCriticalSection()30 ASSERT_EQ(critsec, debug->CriticalSection); in AssertIsCriticalSection()38 explicit ScopedEnterCriticalSection(CRITICAL_SECTION* critsec) in ScopedEnterCriticalSection() argument39 : critsec_(critsec) { in ScopedEnterCriticalSection()
154 inline bool OwnsCriticalSection(CRITICAL_SECTION* critsec) { in OwnsCriticalSection() argument155 return reinterpret_cast<DWORD>(critsec->OwningThread) == in OwnsCriticalSection()