linux IPC issues

http://www.ibm.com/developerworks/cn/aix/library/au-ipc/index.html
http://www.ibm.com/developerworks/cn/linux/l-ipc/part3/index.html
这两篇是介绍message queue机制的(sys v的而不是posix的)。

机制很简单,使用的关键是根据项目的逻辑需求建立message的数据结构。
还有
struct msgbuf{
long mtype;
char mtext[1];
};
中的mtype的利用。
原文地址:https://www.cnblogs.com/goodloop/p/956828.html