Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.20.2
-
None
-
None
-
None
Description
MultithreadedMapper runs multiple threads in one mapper, but it doesn't update the completion percentage before all the threads are completed.
If is better to update the completion percentage when threads are running to reflect real progress.
The code is like this:
runners = new ArrayList(numberOfThreads);
for(int i = 0; i < numberOfThreads; i++)
for(int i = 0; i < numberOfThreads; i++)
{ MapRunner thread = (MapRunner)runners.get(i); thread.join(); // wait ... }