Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Multiprocessing runs several files, spreading a task on them. Those. N .py files will hang in the task manager, and the load on the system is higher.
The multithread splits the task inside a single file.
In the same way that a process differs from a thread.
It is in python that multiprocessing allows you to use several cores in python calculations, in the case of multithreading, often (but not always) everything rests on one core due to the Global Interpreter Lock (which is a lifeline in the sea of flight conditions and other delights of parallel data processing)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question