static public void Terminate() { lock (threads) { CleanUpThreads(); foreach (ThreadInfo ti in threads) { Log.EntryError(threadLog, "Terminating " + ti.name); ti.terminate.Invoke(); } } }
//static private ILog assertLog = MasterLog.GetFileLog("Assert.log"); static private void LogEntry(ILog log) { Log.EntryError(log, "Assert failed\n" + new System.Diagnostics.StackTrace() + "\n\n"); Log.EntryError(log, "Assert failed\n" + System.Environment.StackTrace + "\n\n"); }