示例#1
0
 public void Initialization()
 {
     variable = new StmRef <int>(0);
     Stm.UseLoggingStmTransaction = true;
     logFileName = "Log.txt";
     ReCreateFile(logFileName);
     Logger.LogFileName        = logFileName;
     Logger.IsNotEndOutputLogs = true;
 }
        public void Initialization()
        {
            variable1 = new StmRef <int>(0);
            variable2 = new StmRef <int>(0);
            StmModified.UseLoggingStmTransaction = true;
            logFileName = "LoggingSubTransactionTest.txt";
            File.WriteAllText(logFileName, "");
            LoggerModified.InitializationForStartLogging(logFileName);

            StartAndWaitTasks();

            LoggerModified.WaitLoggingEnd();
        }