sending messages

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 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.