Changeset 8779 for branches/DynamicVehicleRouting
- Timestamp:
- 10/10/12 13:10:57 (12 years ago)
- Location:
- branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/PickupDeliveryOptimization.cs
r8776 r8779 365 365 } 366 366 367 public void WaitForExit() { 368 while (Running()) { 369 Thread.Sleep(100); 370 SignalWaitHandle(); 371 } 367 public void Exit() { 372 368 optThread = null; 373 369 } -
branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/PickupDeliverySimulation.cs
r8670 r8779 536 536 537 537 private void WaitForOptimizationExit() { 538 if (Optimization != null) 539 Optimization.WaitForExit(); 538 if (Optimization != null) { 539 while (Optimization.Running()) { 540 Thread.Sleep(100); 541 SignalWaitHandle(); 542 } 543 Optimization.Exit(); 544 } 540 545 } 541 546
Note: See TracChangeset
for help on using the changeset viewer.