Changeset 15368 for trunk/sources/HeuristicLab.ParallelEngine
- Timestamp:
- 09/18/17 12:26:37 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.ParallelEngine/3.3/ParallelEngine.cs ¶
r14185 r15368 102 102 Parallel.ForEach(stacks, parallelOptions, Run); 103 103 } 104 catch ( OperationCanceledException ex) {104 catch (Exception ex) { 105 105 OperationCollection remaining = new OperationCollection() { Parallel = true }; 106 106 for (int i = 0; i < stacks.Length; i++) { … … 115 115 } 116 116 if (remaining.Count > 0) executionStack.Push(remaining); 117 throw ex;117 throw; 118 118 } 119 119 } else { … … 132 132 } 133 133 if (next != null) executionStack.Push(next); 134 135 if (operation.Operator.Breakpoint) {136 string message = string.Format("Breakpoint: {0}", operation.Operator.Name != string.Empty ? operation.Operator.Name : operation.Operator.ItemName);137 Log.LogMessage(message);138 throw new OperationCanceledException(message);139 }140 134 } 141 135 }
Note: See TracChangeset
for help on using the changeset viewer.