IPC

I want to send a message to a process without having the process wait for
the message.

I have a loop and at a certain point I want to check for a message from
another process, eg a pulse.

I there a way for a pulse to be checked for and not cause the process
checking for the pulse to block??

Cheers.

event.sigev_notify = SIGEV_UNBLOCK;
TimerTimeout(CLOCK_REALTIME, _NTO_TIMEOUT_RECEIVE, &event, NULL, NULL );
MsgReceive(chid, buff, buff_size, &info);

I believe this will keep the process from blcking on the MsgReceive call.

C. Scott



Liam wrote:

I want to send a message to a process without having the process wait for
the message.

I have a loop and at a certain point I want to check for a message from
another process, eg a pulse.

I there a way for a pulse to be checked for and not cause the process
checking for the pulse to block??

Cheers.

That works great.

Thanks.
“Liam” <liam.mcdermott@nuigalway.ie> wrote in message
news:bds3gf$b6d$1@inn.qnx.com

I want to send a message to a process without having the process wait for
the message.

I have a loop and at a certain point I want to check for a message from
another process, eg a pulse.

I there a way for a pulse to be checked for and not cause the process
checking for the pulse to block??

Cheers.