I have a program which I need to call more than 100 times with different values.
I want to do it simultaneously that is not wait for one call to complete and then to start again.
How can I achieve it ?
Is multithreading the solution to it.
I am using python for it.
You can do this with the subprocess module. Here is an example that runs the
sleepcommand a hundred times, with a sleep value between 0 and 10 seconds. It runs them all in parallel and then exits when they all finish.