I'm a newbie . Is there an example code base I can look at that shows how to
1 ) fire up JSON queries/reposes to/from multiple websites in parallel,
2) have each taks/thread process info and write it to a central (shared) array of objects
3) then wait for a parallel tasks to finish
3) process the info collected on shared array data.
I'm assuming this is about correct usage of asynchronous queues, and some tricks with a synchronous/wait for completion method. need to see the handling of hte dance.
Also how to ensure the common global data object being written to safely from multiple parallel tasks.
pointers to example code much appreciated