1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-19 03:39:08 +00:00

Start CMake-ifying NucleusLib

This commit is contained in:
2011-04-08 01:29:34 -04:00
parent 82a4fc867c
commit 93ac5b22a9
16 changed files with 234 additions and 19 deletions

View File

@ -157,8 +157,6 @@ static void ReplaceEmailParams (EmailParams * newParams) {
//============================================================================
static EmailParams * GetEmailParamsIncRef () {
ref(GetEmailParamsIncRef);
EmailParams * params;
SAFE_CRITSECT_ENTER();
@ -259,8 +257,6 @@ static unsigned ProcessErrorLog (
const char programName[],
const char errorType[]
) {
ref(programName);
ref(errorType);
LogWriteToDisk(log);
@ -670,8 +666,6 @@ static LONG ProcessException (const char occasion[], EXCEPTION_POINTERS * ep) {
//============================================================================
static LONG WINAPI ExceptionFilter (EXCEPTION_POINTERS * ep) {
ref(ExceptionFilter);
LONG result = ProcessException("Unhandled Exception", ep);
// If the instruction pointer is inside CrashFunc then this exception
@ -783,9 +777,7 @@ static void ProcessDeadlock_CS (const char occasion[], bool crashIt = true) {
//============================================================================
static void DeadlockCheckProc (void *) {
ref(DeadlockCheckProc);
while (s_running) {
while (s_running) {
Sleep(5 * 1000);
if (!s_deadlockEnabled)