select() syscall

Hello, all

I am trying to implement a Unix Domain Sockets driver for RTP 6.1.
I think I’ve been able to figure out the messages passed for each
syscall, with the exception of select(). Can anybody tell me what
message is passed to the resource manager for a select() syscall?
Thanks.

Cheers,
Kevin


He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey

In QNX6 select() is implemented on top of ionotify(), you can see how it
is handled in sources on their CVS site. Keep in mind QNX is doing their
own UDS implementation. Apparently it is complicated since UDS can be
used to pass opened fd between processes. I’ve heard they were going to
change resmgr framework somewhat to support that…

  • igor

Kevin Lacquement wrote:

Hello, all

I am trying to implement a Unix Domain Sockets driver for RTP 6.1.
I think I’ve been able to figure out the messages passed for each
syscall, with the exception of select(). Can anybody tell me what
message is passed to the resource manager for a select() syscall?
Thanks.

Cheers,
Kevin


He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey

“IK” == Igor Kovalenko <> Igor.Kovalenko@motorola.com> > writes:

IK> In QNX6 select() is implemented on top of ionotify(), you can see how it
IK> is handled in sources on their CVS site. Keep in mind QNX is doing their
IK> own UDS implementation. Apparently it is complicated since UDS can be
IK> used to pass opened fd between processes. I’ve heard they were going to
IK> change resmgr framework somewhat to support that…

The implementation I’m writing won’t support passing fd’s. It’s only
a temporary solution to allow us to port some software, which will use
QNX’s UDS implementation when it is made available.

Thanks for the info.

Cheers,
Kevin


He that breaks a thing to find out what it is has left the path of
wisdom – Gandalf the Grey