摘要:
""""import osimport time#fork只用于linux中pid = os.fork()print("hello")if pid == 0: print("子进程{},父进程是{}".format(os.getpid(),os.getppid()))else: print("父进程 阅读全文
2019年2月22日 #
摘要:
import timefrom concurrent.futures import ThreadPoolExecutor,as_completedfrom concurrent.futures import ProcessPoolExecutor#多进程编程#耗CPU的操作,用多进程编程;对于IO操 阅读全文