python 队列Queue
摘要:
from Queue import Queue qlist=Queue(maxsize=300) import threading for i in range(20): qlist.put("hello num%d" %(i)) def process_work(qlist): while Tru 阅读全文
posted @ 2020-05-27 23:45 思此狂 阅读(197) 评论(0) 推荐(0)
posted @ 2020-05-27 23:45 思此狂 阅读(197) 评论(0) 推荐(0)
posted @ 2020-05-27 22:20 思此狂 阅读(481) 评论(0) 推荐(0)