Changeset 749
- Timestamp:
- 11/13/08 16:48:36 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 6 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Common/JobBase.cs
r742 r749 6 6 7 7 namespace HeuristicLab.Hive.Client.Common { 8 9 public delegate void Callback(); 10 8 11 abstract public class JobBase { 9 12 13 public event Callback JobAborted; 14 10 15 private Thread thread = null; 16 11 17 public int Progress { get; set; } 12 18 private bool abort = false; 19 private bool running = false; 13 20 14 21 abstract public void Run(); … … 17 24 thread = new Thread(new ThreadStart(Run)); 18 25 thread.Start(); 26 running = true; 19 27 } 20 public JobBase() { 28 29 public void Stop() { 30 abort = true; 31 } 32 33 public JobBase() { 21 34 } 22 35 } -
trunk/sources/HeuristicLab.Hive.Client.Core/Core.cs
r742 r749 39 39 TestJob job = new TestJob(); 40 40 job.Start(); 41 42 41 43 42 MessageQueue queue = MessageQueue.GetInstance(); 44 43 -
trunk/sources/HeuristicLab.sln
r748 r749 125 125 EndProject 126 126 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Settings", "HeuristicLab.Settings\HeuristicLab.Settings.csproj", "{1446E01A-0948-4E72-A77C-FD13FD63C3E3}" 127 EndProject 128 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HeuristicLab.Hive.Client.ExecutionEngine", "HeuristicLab.Hive.Client.ExecutionEngine\HeuristicLab.Hive.Client.ExecutionEngine.csproj", "{1605256A-1CB3-44AB-AAFF-577093EE5789}" 127 129 EndProject 128 130 Global … … 573 575 {1446E01A-0948-4E72-A77C-FD13FD63C3E3}.Release|Any CPU.Build.0 = Release|Any CPU 574 576 {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 575 583 EndGlobalSection 576 584 GlobalSection(SolutionProperties) = preSolution -
trunk/sources/HeuristicLab/CopyAssemblies.cmd
r747 r749 69 69 copy %1\HeuristicLab.Hive.Client.Common\%2\HeuristicLab.Hive.Client.Common-3.2.dll .\plugins 70 70 copy %1\HeuristicLab.Hive.Client.Console\%2\HeuristicLab.Hive.Client.Console-3.2.dll .\plugins 71 copy %1\HeuristicLab.Hive.Client.ExecutionEngine\%2\HeuristicLab.Hive.Client.ExecutionEngine-3.2.dll .\plugins
Note: See TracChangeset
for help on using the changeset viewer.