Linux IPC
JDSH0224
这个作者很懒,什么都没留下…
展开
-
Linux IPC消息队列函数
详见:https://www.cnblogs.com/kratosBJ/p/9530097.html原创 2019-07-18 15:13:23 · 167 阅读 · 0 评论 -
Linux IPC消息队列多进程通信编程封装
1. MsgQue.h #ifndef MSG_QUE_H #define MSG_QUE_H #include <stdio.h> #include <stdlib.h> #include <stdarg.h> #include <string.h> #include <sys/ipc.h> #include <sys...原创 2019-07-18 15:32:43 · 400 阅读 · 0 评论 -
Linux IPC共享内存(多进程通信)
1. ShareMem.h #ifndef SHARE_MEM_H #define SHARE_MEM_H #include <sys/shm.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> class CShar...原创 2019-07-19 14:17:36 · 368 阅读 · 0 评论 -
Linux IPC 信号量
1. 概念原理 ipc信号原理 2. Semphore.h #ifndef SEMPHORE_H #define SEMPHORE_H #include<stdio.h> #include<stdlib.h> #include<string.h> #include<unistd.h> #include<sys/types.h> ...原创 2019-07-29 11:01:40 · 303 阅读 · 0 评论