启动之后,我们通过 terminate() 方法杀死它。 # 杀死一个进程 import multiprocessing import time def foo(): print('Starting function') time.sleep(0.1) ...
確定! 回上一頁