Boost.Interprocess

Boost.Interprocess只需要引入头文件就可以使用,常用的包括:

1.普通共享内存

#include <boost/interprocess/shared_memory_object.hpp>

#include <boost/interprocess/mapped_region.hpp>

2.消息队列

#include <boost/interprocess/ipc/message_queue.hpp>

参考:http://www.ibm.com/developerworks/cn/aix/library/au-concurrent_boost/

 

posted @ 2014-02-11 15:45  Run.L  阅读(650)  评论(0编辑  收藏  举报