摘要: 1.wait方法可以让主线程阻塞,直到满足设定的要求。 from concurrent.futures import ThreadPoolExecutor, wait, ALL_COMPLETED, FIRST_COMPLETED import time # 参数times用来模拟网络请求的时间 d 阅读全文
posted @ 2021-07-29 15:10 不带R的墨菲特 阅读(265) 评论(0) 推荐(0)