Quoting "Brian S. Julin" <[EMAIL PROTECTED]>:
> The wineserver service loop uses the new glibc poll(2) function.
> This seems to be a convenience function on systems without
> a kernel poll() call, implemented via select(), and on linux
> uses the more efficient (?) kernel call. It won't integrate
> neatly with giiEventSelect -- I'll have to rip the select()
> emulation out of libc and use it to convert the wineserver
> parameters to a select call in order to use giiEventSelect.
> Alternatively, rather than doing this just for WINE, I
> could provide a function e.g.
>
> int giiEventFPoll(gii_input *inp, gii_event_mask *mask,
> struct pollfd *ufds, unsigned int nfds, int time out);
>
> ...would this be a worthy addition to LibGII?
>
AFAIK there's a gii (or was it ggi?) function that is only available
on unix systems to poll gii events and perform select on a FDSET
altogether. I think I've used it with network sockets. I don't remember
quite well and I don't have my code right here.
Anyway it must be found somewhere in manpages.