View topic - sending messages

sending messages

Read-only archive of qnx.gui (Creating graphical applications within a GUI environment, such as Photon or PhAB) at inn.qnx.com

sending messages

Postby jinma » Thu Jul 20, 2006 7:47 pm

I have one non-PhAB process and one PhAB process. I would like to send data back and forth between these process. I don't think I can just use regular msgsend/msgreceive or mq_send/mq_receive. What is the proper method in this case? My non-PhAB is running at a higher priority than my PhAB process, so I don't want priority inversion, and don't want y non-PhAB process to be blocked waiting for reply.

Thanks
jinma
Senior Member
 
Posts: 428
Joined: Thu Oct 28, 2004 10:13 pm

Re: sending messages

Postby Wojtek Lerch » Tue Jul 25, 2006 7:54 pm

jinma wrote:
I have one non-PhAB process and one PhAB process. I would like to send
data back and forth between these process. I don't think I can just
use regular msgsend/msgreceive or mq_send/mq_receive. What is the
proper method in this case? My non-PhAB is running at a higher
priority than my PhAB process, so I don't want priority inversion,
and don't want y non-PhAB process to be blocked waiting for reply.

The most common way is to have the Photon process MsgSend() to the
non-photon process. Incidentally, that's exactly what happens when a
Photon application writes to a file or reads from a socket.
Wojtek Lerch
 


Return to qnx.gui

Who is online

Users browsing this forum: No registered users and 2 guests