Thank you for the response.
Based on your suggestion, here is what I pan to do:
Suppose there are 10n files to be processed, and I decide to allocate 10 files per
thread, so I will create 'n' threads and add to a collection.
Then I keep checking each thread's state to see if the execution is complete( using getState()), if so, start Process B. Else wait.
Does the above seem good enough? You do you have a better approach, about which you can give some hints?
Thanks once again
Jhakda
If I become filthy rich, I'll sponsor research for painless dental treatment at Harvard Medical School. Thats why,I'm learning Java.I have 32 teeth, 22 are man made.