Develop 5 threads by using threads concept and make sure if any of 3 threads are completed out of 5 threads then kill other 2 threads

develop 5 threads by using threads concept and make sure if any of 3 threads are completed out of 5 threads then kill other 2 threads.

Hi @dave_59
Is it okay to use fine grain process here? What are the advantages of using semaphore instead of fine grain process?

Read the discussion that follows in the posted link.