参考:
https://blog.csdn.net/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.csdn.net/weixin_44280688/article/details/103234235