Flush Pulse Message in QNX Neutrino

Hi,

In QNX 4 we can flush the proxy message from any proxy pid_t
which proide in the 1st parameter in function
CReceive( proxy , Message, size );

But, I do not know how to flush them Neutrino with
MsgReceive ( ChannelId , Message, Size , MsgInfo);
(suggested by QNX migration)

If I use MsgReceive() so all the pulse message in ChannelId will be flushed
However, in QNX4, we need to flush only the pulse with the proper proxy.

Any suggestion in case Neutrino?

Thanks

“Trong Nguyen” <tnguyen@aquilamsl.com> wrote in message
news:bmmtgg$on9$1@inn.qnx.com

Hi,

In QNX 4 we can flush the proxy message from any proxy pid_t
which proide in the 1st parameter in function
CReceive( proxy , Message, size );

But, I do not know how to flush them Neutrino with
MsgReceive ( ChannelId , Message, Size , MsgInfo);
(suggested by QNX migration)

If I use MsgReceive() so all the pulse message in ChannelId will be
flushed
However, in QNX4, we need to flush only the pulse with the proper proxy.

Can’t be done, you have to rearrange your application (for example one
thread/channel per pulses you which to flush).

There is another thread, where staffer are explaining the reasoning behind
why it can’t be done. Let’s hope QSS find a solution to this problem
because this is definitely a very nice feature to have.


Any suggestion in case Neutrino?

Thanks

Merci Mario

Trong

“Mario Charest” postmaster@127.0.0.1 wrote in message
news:bmok9n$243$1@inn.qnx.com

“Trong Nguyen” <> tnguyen@aquilamsl.com> > wrote in message
news:bmmtgg$on9$> 1@inn.qnx.com> …
Hi,

In QNX 4 we can flush the proxy message from any proxy pid_t
which proide in the 1st parameter in function
CReceive( proxy , Message, size );

But, I do not know how to flush them Neutrino with
MsgReceive ( ChannelId , Message, Size , MsgInfo);
(suggested by QNX migration)

If I use MsgReceive() so all the pulse message in ChannelId will be
flushed
However, in QNX4, we need to flush only the pulse with the proper
proxy.

Can’t be done, you have to rearrange your application (for example one
thread/channel per pulses you which to flush).

There is another thread, where staffer are explaining the reasoning behind
why it can’t be done. Let’s hope QSS find a solution to this problem
because this is definitely a very nice feature to have.



Any suggestion in case Neutrino?

Thanks
\

“Trong Nguyen” <tnguyen@aquilamsl.com> wrote in message
news:bmp1q7$b7g$1@inn.qnx.com

Merci Mario

:wink: