2021年10月27日

线程,进程

摘要: 线程 from concurrent.futures.thread import ThreadPoolExecutor # 初始化线程池 设置最大线程数 executor = ThreadPoolExecutor(max_workers=5) for fn in range(10): # 任务数 # 阅读全文

posted @ 2021-10-27 23:30 闹不机米 阅读(45) 评论(0) 推荐(0) 编辑

导航