use sm_crash

This commit is contained in:
Glenn Maynard
2004-02-25 01:33:15 +00:00
parent 2c881d223c
commit ecce498108
+6 -2
View File
@@ -480,7 +480,11 @@ RageMutexImpl::~RageMutexImpl()
}
void CrashDeadlocked() { *(char*)0=0; }
void CrashDeadlocked()
{
sm_crash();
}
void RageMutexImpl::Lock()
{
if( LockedBy == GetCurrentThreadId() )
@@ -538,7 +542,7 @@ void RageMutexImpl::Unlock()
/* We can't ASSERT here, since this is called from checkpoints, which is
* called from ASSERT. */
if( !ret )
*(char*)0=0;
sm_crash();
}
#else