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的利用。

相关文章:

  • 2021-06-10
  • 2021-10-19
  • 2022-12-23
  • 2022-12-23
  • 2021-10-18
  • 2021-11-02
  • 2021-11-25
  • 2021-08-01
猜你喜欢
  • 2021-10-24
  • 2022-03-04
  • 2021-07-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-07-20
相关资源
相似解决方案