We’re migrating from 4.25 some applications that Receive either proxies
(timer proxy, trigger from another app, or from qnx_hint_attach) or messages
(from other processes). I can’t seem to find a way for MsgReceive to accept
I did find a good thread that explains pulses from interrupts like
lm=fae6e8db.0207191254.63011a59%40posting.google.com&rnum=1 is the start of
And after trial and error I got message passing to work (use name_open() for
local, _connect() for remote node()). So I thought I would just merge the
two - simple, huh.
Well, the first parameter of MsgReceive is the channel id. For pulses that
comes from a channel (PulseChID):
// tell the OS to send a pulse upon interrupt
PulseChID = ChannelCreate(_NTO_CHF_UNBLOCK);
PulseCoID = ConnectAttach(0, 0, PulseChID, _NTO_SIDE_CHANNEL,0);
PulseIntID = InterruptAttachEvent(TIME_IRQ,
For messages it comes from the name_open or _connect.
These each work but separately. The MsgReceive seems to say “only accept
from this channel”. I would like to be able to hang one MsgReceive to be
triggered on pulses (from interrupts in this case) or messages from another
process like QNX4 had it. Is there a “accept from anyone” flag?
I found on this newsgroup something about _select_receive() but I’m not sure
what that’s all about.