摘要: 进程间IPC通信机制 进程彼此之间互相隔离,要实现进程间通信(IPC),multiprocessing模块支持两种形式:队列和管道,这两种方式都是使用消息传递的 # 管道 # 队列=管道+锁 from multiprocessing import Queue q=Queue(3) q.put(['f 阅读全文