Under QNX4 it was rather easy to mix select and MsgReceive but using create
a fonction _select_receive.
What would be the equivalent technique in QNX6?
- Mario
Under QNX4 it was rather easy to mix select and MsgReceive but using create
a fonction _select_receive.
What would be the equivalent technique in QNX6?
Mario Charest postmaster@127.0.0.1 wrote:
Under QNX4 it was rather easy to mix select and MsgReceive but using create
a fonction _select_receive.What would be the equivalent technique in QNX6?
If you’re using the dispatch / resmgr interface, look at
select_attach(). If you’re rolling your own, look at
ionotify() to arm the fd with a pulse event.
Regards,
-seanb
Sean Boudreau wrote:
Mario Charest postmaster@127.0.0.1 wrote:
Under QNX4 it was rather easy to mix select and MsgReceive but using create
a fonction _select_receive.
What would be the equivalent technique in QNX6?
If you’re using the dispatch / resmgr interface, look at
select_attach(). If you’re rolling your own, look at
ionotify() to arm the fd with a pulse event.
Or if you have to actually use select(), do the MsgReceive() in another
thread.
“Wojtek Lerch” <Wojtek_L@yahoo.ca> wrote in message
news:edpipg$h05$1@inn.qnx.com…
Sean Boudreau wrote:
Mario Charest postmaster@127.0.0.1 wrote:
Under QNX4 it was rather easy to mix select and MsgReceive but using
create a fonction _select_receive.
What would be the equivalent technique in QNX6?
If you’re using the dispatch / resmgr interface, look at
select_attach(). If you’re rolling your own, look at
ionotify() to arm the fd with a pulse event.Or if you have to actually use select(), do the MsgReceive() in another
thread.
That’s what I though of but the architecture has to stay the same as QNX4
(trying to maintain source compatibility between the two)
“Sean Boudreau” <seanb@qnx.com> wrote in message
news:edpi17$hcm$1@inn.qnx.com…
Mario Charest postmaster@127.0.0.1 wrote:
Under QNX4 it was rather easy to mix select and MsgReceive but using
create
a fonction _select_receive.What would be the equivalent technique in QNX6?
If you’re using the dispatch / resmgr interface, look at
select_attach(). If you’re rolling your own, look at
ionotify() to arm the fd with a pulse event.
Thanks then ionotify it shall be
Regards,
-seanb