参考:
https://blog.youkuaiyun.com/lilbbkwr/article/details/127008989
http://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.pps.developer/topic/about.html
一开始以为PPS只用qnx的open,read,write就可以实现了,原来首先得开启 pps这个服务
# ps -A | grep pps
700475 ? 00:00:00 pps
默认的属性,我看一般就是:
std::string pub_attr = std::string(attr) + "::" + value + "\n";
write(PPSFd_, pub_attr.c_str(), pub_attr.size());
ionotify机制还得看一下?
消息机制:https://blog.youkuaiyun.com/weixin_44280688/article/details/103234235
文章介绍了在QNX操作系统中使用PPS服务进行读写操作的基础知识,强调了必须先开启PPS服务,并展示了如何设置属性和使用write函数。同时提到了ionotify机制在消息通知中的作用,提供了相关资源链接以供深入学习。
1万+

被折叠的 条评论
为什么被折叠?



