作者:家有吃货_魏ranran | 来源:互联网 | 2023-05-17 04:35
一多进程multiprocessingmultiprocessingisapackagethatsupportsspawningprocessesusinganAPIsim
一 多进程multiprocessing
multiprocessing
is a package that supports spawning processes using an API similar to the threading
module. The multiprocessing
package offers both local and remote concurrency, effectively side-stepping the Global Interpreter Lock by using subprocesses instead of threads.