ConnectAttach, MsgSend how to...

I have a network interface that must IPC some data to a daemon and the
deaemon must IPC some data back. So, I am using two receive threads to
prevent a deadlock. I was previously using POSIX msg queues, but wanted to
improve the performance and use MsgSendv, etc. However, I do not know how
to find the channel I created in each receive thread using
ChannelCreate()… In POSIX I had a known queue name…

Take a look at name_attach().

“Jay Witherspoon” <spoon@scubadiving.com> wrote in message
news:bf11ut$qst$1@inn.qnx.com

I have a network interface that must IPC some data to a daemon and the
deaemon must IPC some data back. So, I am using two receive threads to
prevent a deadlock. I was previously using POSIX msg queues, but wanted
to
improve the performance and use MsgSendv, etc. However, I do not know how
to find the channel I created in each receive thread using
ChannelCreate()… In POSIX I had a known queue name…

Thank you, that seems like it is what I need. One question though… It
appears that the channel has to already exist before the name_open() or it
will fail (unlike the POSIX msgs). If that is true, I will have to delay
the name_open()… The two processes can start in either order… I can
find out by coding it, but if someone already knows…

“Dmitri Poustovalov” <pdmitri@bigfoot.com> wrote in message
news:bf2eug$q82$1@inn.qnx.com

Take a look at name_attach().

“Jay Witherspoon” <> spoon@scubadiving.com> > wrote in message
news:bf11ut$qst$> 1@inn.qnx.com> …
I have a network interface that must IPC some data to a daemon and the
deaemon must IPC some data back. So, I am using two receive threads to
prevent a deadlock. I was previously using POSIX msg queues, but wanted
to
improve the performance and use MsgSendv, etc. However, I do not know
how
to find the channel I created in each receive thread using
ChannelCreate()… In POSIX I had a known queue name…
\