Changeset 222
- Timestamp:
- 05/07/08 00:07:33 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.DistributedEngine/DistributedEngine.cs
r219 r222 94 94 waithandles[i++] = jobManager.BeginExecuteOperation(OperatorGraph, GlobalScope, parOperation); 95 95 } 96 WaitHandle.WaitAll(waithandles); 96 // WaitAll works only with maximally 64 waithandles 97 if(waithandles.Length <= 64) { 98 WaitHandle.WaitAll(waithandles); 99 } else { 100 for(i = 0; i < waithandles.Length; i++) { 101 waithandles[i].WaitOne(); 102 } 103 } 97 104 if(jobManager.Exception != null) { 98 105 myExecutionStack.Push(compositeOperation);
Note: See TracChangeset
for help on using the changeset viewer.