摘要:
from multiprocessing import Process,Queue import os def f (qq): qq.put([42,None,'hello']) #将列表传入队列qq中 if __name__ == '__main__': q = Queue() #创建进程间通信专用Queue 如果使用线程queue则会出错。 p = Process(target=f,a... 阅读全文
posted @ 2017-11-28 17:42
专注于区块链开发
阅读(310)
评论(0)
推荐(0)