摘要: 进程补充及线程相关理论、方法概念 消息队列 from multiprocessing import Queue q = Queue(5) # 定义一个队列并设置长度为5 1.往队列放数据 q.put(111) # 朝队列中存放数据 q.put(222) q.put(333) print(q.full 阅读全文
posted @ 2022-05-20 15:12 槐序八 阅读(39) 评论(0) 推荐(0)