摘要: from multiprocessing import Process,Queue import time import random,os def producer(name,q): for i in range(10): time.sleep(random.randint(1,3)) res='%s%s'%(name,i) q.put... 阅读全文
posted @ 2018-11-19 22:01 986428528 阅读(116) 评论(0) 推荐(0)