摘要: 进程间通信常用的4种方法 1. 管道:简单 2. 信号:系统开销小 3. 共享映射区:有无血缘关系的进程间通信都可以 4. 本地套接字:稳定 管道 匿名管道pipe 适用于有血缘关系的进程间通信 pipe函数 #include<unistd.h> int pipe(int filedes[2]); 阅读全文
posted @ 2019-12-02 16:34 xd_xumaomao 阅读(93) 评论(0) 推荐(0) 编辑