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.

5/4/2020 5:57:18 PM

[B.S.] BITTU

2 Answers

New Answer

+2

[S.S] Subhojit https://dev.to/nbosco/multithreading-vs-multiprocessing-in-python--63j hope it helped

+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