一、参考IBM方式,重载new方法,见:https://www.ibm.com/developerworks/cn/linux/l-shared/index.html
二、类似IBM,自定义new方法的alloc参数,自定义内存分配,
译文参见:http://www.cppblog.com/doing5552/archive/2010/07/24/121197.aspx
原文:http://www.ddj.com/cpp/184401639
三、高大上用BOOST
参见:http://lday.me/2017/12/17/0019_boost_share_memory_ipc/
2019-11-16
不同进程操作共享内存内数据指针的三种方法
Comments Off on 不同进程操作共享内存内数据指针的三种方法
No Comments
No comments yet.
RSS feed for comments on this post.
Sorry, the comment form is closed at this time.