QNX?????????????
???????????? ???????[ 2013/8/12 10:48:30 ] ????????
????5???????????????MsgDeliverEvent()
??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????У???????????????????????????Щ?????????????????ɡ?
?????????? ??????“?????”(Notification Event)??????????????MsgSend()???????????????????“???xxx??????????????????????????”??
???????????? ???????????????μ????rcvid??????????????????????“?????????”??
?????????? ???????????????????????????????????????????
????......
???????????? ????????????????????“xxx???”????????????????? MsgDeliverEvent(rcvid?? event);?????????
?????????? ???????????MsgSend()????“xxx ???????????????”
???????????? ??MsgReply()???????????????
????int MsgDeliverEvent (int rcvid??const struct sigevent *event);
????event???????????????? rcvid????????????????????????????????????????id???????塣????MsgDeliverEvent?????????????
????6??????API
ChannelCreate()?? ChannelDestroy()
ConnectAttach()?? ConnectDetach()
MsgDeliverEvent()
MsgError()
MsgRead()?? MsgReadv()
MsgReceive()?? MsgReceivePulse()?? MsgReceivev()
MsgReply()?? MsgReplyv()
MsgSend()?? MsgSendnc()?? MsgSendsv()?? MsgSendsvnc()?? MsgSendv()??
MsgSendvnc()?? MsgSendvs()?? MsgSendvsnc()
MsgWrite()?? MsgWritev()
name_attach()?? name_close()?? name_detach()?? and name_open()
????7?????
????1)??????????????????????????????????????
????2)???????????????????(MsgReply)?????????????MsgSend?????
????3)????????MsgReceive???????????????????????????????????Щ???
????4)???????????????????????????????_IO_CONNECT ???????????
????5)????????????????????????????????????_PULSE_CODE_DISCONNECT????
????6)??????????REPLY BLOCK??????????????????????_PULSE_CODE_UNBLOCK????
????7)???????????????????????_NTO_CHF_DISCONNECT_NTO_CHF_COID_DISCONNECT ??_NTO_CHF_UNBLOCK ????????????????????????????
????????????-????
????1??????????
??????????????????????????????“????”?????????????????????????????????????????????????????????С?????????????????????????????????????Я?????????????????????8λ??"code"?????????????????壬?????32λ“value"????Я?????????????????????????????“??”(Notification)?????????????????????????????????“??????”?????????????????????????????
????2??????????
????????????????б????????????????????????MsgReceivePulse()??????????壻???????????????????????????????????????MsgReceive()??????????????(ReveiveBuf)?????????????????壨sizeof struct _pulse)??????????MsgReceive()?????rcvid??0??????????????????壬????????????????????
????3????????????
????1)??Ч????40λ????(8λ??????32λ????)
????2)???????????????????
????3)??????????????????????
????4)??????????????????????????????塣
????5)????????壬???????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11