#define E_UNEXPECTED 0x8000FFFF
#define E_NOTIMPL 0x80004001
#define E_INVALIDARG 0x80070057
+#define COR_E_EXECUTIONENGINE 0x80131506
#define NOERROR 0x0
#define ERROR_TIMEOUT 1460
dwWaitResult = WaitForGCEvent->Wait(DETECT_DEADLOCK_TIMEOUT, FALSE );
if (dwWaitResult == WAIT_TIMEOUT) {
- // Even in retail, stop in the debugger if available. Ideally, the
- // following would use DebugBreak, but debspew.h makes this a null
- // macro in retail. Note that in debug, we don't use the debspew.h
- // macros because these take a critical section that may have been
- // taken by a suspended thread.
- FreeBuildDebugBreak();
+ // Even in retail, stop in the debugger if available.
+ GCToOSInterface::DebugBreak();
goto BlockAgain;
}
GCToOSInterface::DebugBreak();
#endif // DACCESS_COMPILE
_ASSERTE(!"Fatal Error in GC.");
- EEPOLICY_HANDLE_FATAL_ERROR(COR_E_EXECUTIONENGINE);
+ GCToEEInterface::HandleFatalError(COR_E_EXECUTIONENGINE);
}
#ifdef _MSC_VER