Changeset 8773
- Timestamp:
- 10/10/12 10:54:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DynamicVehicleRouting/HeuristicLab.PDPSimulation/3.3/PickupDeliveryOptimization.cs
r8670 r8773 331 331 CancellationTokenSource cts; 332 332 333 private object threadLocker = new object(); 333 334 protected bool running; 334 335 … … 340 341 cts = new CancellationTokenSource(); 341 342 optThread = new Thread(delegate() { 342 lock (th is) {343 lock (threadLocker) { 343 344 started = true; 344 345 } … … 366 367 private bool Started() { 367 368 bool result; 368 lock (th is) {369 lock (threadLocker) { 369 370 result = started; 370 371 started = false;
Note: See TracChangeset
for help on using the changeset viewer.