首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
Distributions
›
Ubuntu
›
Fedora
›
CentOS
中文资源站
›
网易开源镜像站
广告
V2EX
›
Linux
用 C++实现进程间通信除了 boost::interprocess 还有什么其他比较好的方式吗
gaoyadianta
·
2019-05-07 15:34:30 +08:00
· 3749 次点击
这是一个创建于 1816 天前的主题,其中的信息可能已经有所发展或是发生改变。
C 的话,知道可以用 POSIX 或者 SystemV 的一些库函数,C++不太熟,请教下版上大神:我们需要用 C++实现共享内存、mutex 等等这些东西,除了 boost::interprocess 库,还有其他实现方式吗?如果没有,boost::interprocess 这个库有坑吗?
boost
interprocess
systemv
mutex
4 条回复
•
2019-05-14 09:33:16 +08:00
1
gaoyadianta
OP
2019-05-07 22:55:25 +08:00 via Android
有人可以指导下吗
3
sailing0505
2019-05-14 00:13:23 +08:00 via Android
进城间通信有几种方式,管道,共享内存,域套接字。如果本机建议使用命名管道
4
gaoyadianta
OP
2019-05-14 09:33:16 +08:00
@
sailing0505
明白,我想问的是在 C++下的实现,是不是 boost::interprocess 是最好的选择呢?
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
我们的愿景
·
实用小工具
·
2279 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 23ms ·
UTC 00:56
·
PVG 08:56
·
LAX 17:56
·
JFK 20:56
Developed with
CodeLauncher
♥ Do have faith in what you're doing.