【发布时间】:2016-04-20 02:13:35
【问题描述】:
boost::interprocess 会像这样创建一个 shm:
boost::interprocess::managed_shared_memory segment(boost::interprocess::open_or_create, "ContainerSharedMemory", 65536);
但是怎么能像这样看这个shm:
/Tool/SHMCache$ ipcs -m
key shmid owner perms bytes nattch status
0x00005feb 0 root 666 12000 2
0x00005fe7 32769 root 666 524288 2
0x00005fe8 65538 root 666 2097152 2
0x0001c08e 98307 root 777 2072 0
【问题讨论】:
标签: c++ boost shared-memory boost-interprocess