Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6863 for branches


Ignore:
Timestamp:
10/04/11 10:00:38 (13 years ago)
Author:
ascheibe
Message:

#1233 adapted code to new ThreadSafeLog

Location:
branches/HeuristicLab.Hive-3.4/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.App/3.3/MainWindow.cs

    r6834 r6863  
    5252      if (WindowState == FormWindowState.Minimized) {
    5353        Hide();
    54       } /*else if (Visible == false) {
    55         Show();
    56       }   */
     54      }
    5755    }
    5856  }
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.3/Core.cs

    r6743 r6863  
    5555
    5656    public Core() {
    57       var log = new ThreadSafeLog(new Log(Settings.Default.MaxLogCount));
     57      var log = new ThreadSafeLog(Settings.Default.MaxLogCount);
    5858      this.pluginManager = new PluginManager(WcfService.Instance, log);
    5959      this.taskManager = new TaskManager(pluginManager, log);
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive/3.3/RefreshableJob.cs

    r6834 r6863  
    193193      this.refreshAutomatically = true;
    194194      this.Job = new Job();
    195       this.log = new ThreadSafeLog(new Log());
     195      this.log = new ThreadSafeLog();
    196196      this.jobDownloader = new ConcurrentTaskDownloader<ItemTask>(2, 2);
    197197      this.jobDownloader.ExceptionOccured += new EventHandler<EventArgs<Exception>>(jobDownloader_ExceptionOccured);
     
    201201      this.refreshAutomatically = true;
    202202      this.Job = hiveExperiment;
    203       this.log = new ThreadSafeLog(new Log());
     203      this.log = new ThreadSafeLog();
    204204      this.jobDownloader = new ConcurrentTaskDownloader<ItemTask>(2, 2);
    205205      this.jobDownloader.ExceptionOccured += new EventHandler<EventArgs<Exception>>(jobDownloader_ExceptionOccured);
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine/3.3/HiveEngine.cs

    r6743 r6863  
    9898      this.ResourceNames = "HEAL";
    9999      this.Priority = 0;
    100       this.log = new ThreadSafeLog(this.log);
     100      this.log = new ThreadSafeLog();
    101101      this.IsAllowedPrivileged = ServiceLocator.Instance.CallHiveService((s) => s.IsAllowedPrivileged());
    102102    }
Note: See TracChangeset for help on using the changeset viewer.