python3 多线程
摘要:
from multiprocessing import Pool def f(x): sleep(1) print(1) sleep(1) print(2) return x*x if __name__ == '__main__': plist = [1, 2, 3, 4, 5, 6] with P 阅读全文
posted @ 2021-06-29 17:24 Karlkiller 阅读(32) 评论(0) 推荐(0) 编辑