We need to run instances of a particular activity/child process, in parallel. The number of instances has to be dynamic (based on a query from database or the like)
We only know the path to the required location. There may be more than 1 file which we need to read if and when they become available. Main thing is that we do not know the name of the file(s).In short, we need to keep polling the given location, and...
Thanks for your suggestion. I tried using the for-each loop, but it turns out the loop waits for the child process to complete before continuing with the iteration, so it's still sequential.Please advice.
I have a child process to, lets say write into certain files in a target folder. What data is to be written into which file, depends on the result of a database query.The main part is that this should be done in parallel. Say I run a select query and...