LONG WINAPI CrashExceptionFilter( struct _EXCEPTION_POINTERS *ExceptionInfo ) { // Mutex here due to http://www.jenkinssoftware.com/raknet/forum/index.php?topic=2305.0;topicseen static SimpleMutex crashExceptionFilterMutex; crashExceptionFilterMutex.Lock(); LONG retVal = ProcessException(ExceptionInfo); crashExceptionFilterMutex.Unlock(); return retVal; }
void RakString::LockMutex(void) { poolMutex.Lock(); }