Free cookie consent management tool by TermsFeed Policy Generator

Changeset 749


Ignore:
Timestamp:
11/13/08 16:48:36 (15 years ago)
Author:
kgrading
Message:

startet #358

Location:
trunk/sources
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Common/JobBase.cs

    r742 r749  
    66
    77namespace HeuristicLab.Hive.Client.Common {
     8
     9  public delegate void Callback();
     10
    811  abstract public class JobBase {
    912
     13    public event Callback JobAborted;
     14
    1015    private Thread thread = null;
     16   
    1117    public int Progress { get; set; }
    12    
     18    private bool abort = false;
     19    private bool running = false;
    1320
    1421    abstract public void Run();
     
    1724      thread = new Thread(new ThreadStart(Run));
    1825      thread.Start();
     26      running = true;
    1927    }
    20     public JobBase() {
     28
     29    public void Stop() {
     30      abort = true;       
     31    }
     32
     33    public JobBase() {   
    2134    }
    2235  }
  • trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs

    r742 r749  
    3939      TestJob job = new TestJob();
    4040      job.Start();
    41      
    42 
     41         
    4342      MessageQueue queue = MessageQueue.GetInstance();
    4443
  • trunk/sources/HeuristicLab.sln

    r748 r749  
    125125EndProject
    126126Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Settings", "HeuristicLab.Settings\HeuristicLab.Settings.csproj", "{1446E01A-0948-4E72-A77C-FD13FD63C3E3}"
     127EndProject
     128Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Hive.Client.ExecutionEngine", "HeuristicLab.Hive.Client.ExecutionEngine\HeuristicLab.Hive.Client.ExecutionEngine.csproj", "{1605256A-1CB3-44AB-AAFF-577093EE5789}"
    127129EndProject
    128130Global
     
    573575    {1446E01A-0948-4E72-A77C-FD13FD63C3E3}.Release|Any CPU.Build.0 = Release|Any CPU
    574576    {1446E01A-0948-4E72-A77C-FD13FD63C3E3}.Release|x86.ActiveCfg = Release|Any CPU
     577    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
     578    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Debug|Any CPU.Build.0 = Debug|Any CPU
     579    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Debug|x86.ActiveCfg = Debug|Any CPU
     580    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Release|Any CPU.ActiveCfg = Release|Any CPU
     581    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Release|Any CPU.Build.0 = Release|Any CPU
     582    {1605256A-1CB3-44AB-AAFF-577093EE5789}.Release|x86.ActiveCfg = Release|Any CPU
    575583  EndGlobalSection
    576584  GlobalSection(SolutionProperties) = preSolution
  • trunk/sources/HeuristicLab/CopyAssemblies.cmd

    r747 r749  
    6969copy %1\HeuristicLab.Hive.Client.Common\%2\HeuristicLab.Hive.Client.Common-3.2.dll .\plugins
    7070copy %1\HeuristicLab.Hive.Client.Console\%2\HeuristicLab.Hive.Client.Console-3.2.dll .\plugins
     71copy %1\HeuristicLab.Hive.Client.ExecutionEngine\%2\HeuristicLab.Hive.Client.ExecutionEngine-3.2.dll .\plugins
Note: See TracChangeset for help on using the changeset viewer.