随笔分类 -  Z技术(C/C++/Objective-c)

摘要:1.机制 消息队列的运行方式与命名管道非常相似。欲与其他进程通信的进程只需要将消息发送到消息队列中,目的进程就从消息队列中读取需要的消息。2.源码1)发送方//msg_send.c#include #include #include #include #include int main(){ ... 阅读全文
posted @ 2013-06-27 17:34 Leo.cheng 阅读(400) 评论(0) 推荐(0) 编辑