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/
原文:http://www.cnblogs.com/run220/p/3544528.html