Question: Would you choose multiprocessing or multithreading for a program with 1. task parallelism i.e., perform different tasks on the same data from the same file.
Would you choose multiprocessing or multithreading for a program with 1. task parallelism i.e., perform different tasks on the same data from the same file. 2. data parallelism i.e., perform the same task on different data from different files.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
