Python multithreading vs multiprocessing | Sololearn: Learn to code for FREE!


Python multithreading vs multiprocessing

What is the difference between Multi processing and Multi threading? I often use multi threading in python programs to run the programs in parallel but I have never ever used multiprocessing. So I am quite confused of multi processing Can anyone explain multi processing to me in easier way and with a real life example? As I have known, multi threads run some functions in parallel So what does multi processing do? And where to use it? And please also spot all differences.

5/4/2020 5:57:18 PM


2 Answers

New Answer


[S.S] Subhojit hope it helped


This thread has kind of an overview of what you have asked. Ignore the language and see if you understand the difference.