// Enter the critical section. Blocks until the section can be entered. void CLRCriticalSection::Enter() { WRAPPER_NO_CONTRACT; UnsafeEnterCriticalSection(&m_cs); }
void STDMETHODCALLTYPE UtilExecutionEngine::AcquireLock(CRITSEC_COOKIE lock) { _ASSERTE(lock); UnsafeEnterCriticalSection((CRITICAL_SECTION*)lock); }