Changeset 6178 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs
- Timestamp:
- 05/10/11 17:58:59 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Executor.cs
r6168 r6178 89 89 } else { 90 90 Job.Start(); 91 startJobSem.WaitOne(); 91 if (!startJobSem.WaitOne(TimeSpan.FromSeconds(15))) { 92 throw new TimeoutException("Timeout when starting the job. JobStarted event was not fired."); 93 } 92 94 } 93 95 } 94 96 catch (Exception e) { 95 97 this.currentException = e; 96 Job_JobFailed(this, new HeuristicLab.Common.EventArgs<Exception>(e));98 Job_JobFailed(this, new EventArgs<Exception>(e)); 97 99 } 98 100 }
Note: See TracChangeset
for help on using the changeset viewer.