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

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.

4th May 2020, 5:57 PM
[B.S.] BITTU
[B.S.] BITTU - avatar
1 Réponse
+ 2
This thread has kind of an overview of what you have asked. Ignore the language and see if you understand the difference. https://www.sololearn.com/Discuss/2161598/?ref=app
4th May 2020, 6:19 PM
Avinesh
Avinesh - avatar