Hi!
Please excuse me if this is a silly question, but I am away from the QNX
docs…
Is the message based IPC a kernel function? The reason for the question is
that I’d like to see a slightly different mechanism, with a message box per
process – it would be much more flexible, even if probably will just
provide soft real-time responsitivity…
any thoughts?
Vlad
Vlad Dumitrescu <vladdu@hotmail.com> wrote:
Please excuse me if this is a silly question, but I am away from the QNX
docs…
Is the message based IPC a kernel function?
Yup. Everything else sits on top of that.
The reason for the question is
that I’d like to see a slightly different mechanism, with a message box per
process – it would be much more flexible, even if probably will just
provide soft real-time responsitivity…
When you get back to the docs, you might want check out the POSIX message
queue functions:
mq_open, mq_send, mq_receive, …
Note that we do encourage people to use the Msg* functions instead - they’re
faster than the POSIX ones (since the POSIX ones are built on top of the
kernel ones) and we think that you get better code using the send/receive/reply
style of messaging…of course, some people might think we’re biased in
that regard
.
–
Brian Stecher (bstecher@qnx.com) QNX Software Systems, Ltd.
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8