signals under RtP

I am trying to port a QNX4 app to RtP. One problem is that
qnx_name_locate is not there anymore. The replacement function is
name_open which is fine for sending messages but if I want to send a
signal I need the process ID, right? How can I find the process ID of a
process under Neutrino? Thanks.

Bruce Davis <bruce.r.davis@boeing.com> wrote:

I am trying to port a QNX4 app to RtP. One problem is that
qnx_name_locate is not there anymore. The replacement function is
name_open which is fine for sending messages but if I want to send a
signal I need the process ID, right? How can I find the process ID of a
process under Neutrino? Thanks.

Once you have the connection – from name_open() or from open(), you can
do a ConnectServerInfo(getpid(), coid, &info) to get an info structure that
contains the pid of the server the connection is connected to.

-David