D
dneupane
Hi
I have 10 tasks grouped in two categories, CategoryA with 5 tasks and
CategoryB with 5 tasks.
I have to run all tasks in the CategoryA simultaneous and wait for it
to complete before moving on to the CategoryB.
To achieve this I start 5 background threads to execute all tasks in
the CategoryA and put main thread to sleep.
Now my question is, how do I check all background threads executing
tasks in the CategoryA are completed?
Any help would be really appreciated
Many Thanks
Niju
I have 10 tasks grouped in two categories, CategoryA with 5 tasks and
CategoryB with 5 tasks.
I have to run all tasks in the CategoryA simultaneous and wait for it
to complete before moving on to the CategoryB.
To achieve this I start 5 background threads to execute all tasks in
the CategoryA and put main thread to sleep.
Now my question is, how do I check all background threads executing
tasks in the CategoryA are completed?
Any help would be really appreciated
Many Thanks
Niju