摘要: 一.进程通信机制 进程间通信的IPC(Inter-Process Communication)机制:通过队列来实现进程间的数据共享 底层队列通过管道和锁定实现 队列初识 # from multiprocessing import Queue q = Queue(5) # 不传参数,默认是这个队列的最 阅读全文
posted @ 2019-08-12 20:15 Tri_stone 阅读(162) 评论(0) 推荐(0) 编辑