[EMAIL PROTECTED] writes:
> What you are looking for is:
>
> /* Wait for filedescriptors and LibGII events the the same time */
> int giiEventSelect(gii_input_t inp, gii_event_mask *mask, int n,
> fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
> struct timeval *timeout);
>
> It is a mix of EventPoll and select. You need to include gii-unix.h, as it is
> a system specific thing.
>
> As an alternative, you can open an fdselect input source that will send events
> when data becomes available.
Not an alternative yet:
1999-03-05 Marcus Sundberg [[EMAIL PROTECTED]]
* input/fdselect/input.c:
Some minor cleanups.
1999-03-05 Andreas Beck [[EMAIL PROTECTED]]
* input/fdselect/*:
Added preliminary fdselect target. Completely untested. Don't include
in build system yet !
That's the only entries for fdselect in the log. But the current
code doesn't seem to be broken in any severe way (oh, except that
EventPoll() returns evInformation instead of emInformation, just
noticed ;) so I think I'll just test it and add it into the build
system.
> To use any of those functions, you will need ggiJoinInputs,
Not to use the first method - we have ggiEventSelect() as well.
//Marcus
--
-------------------------------+------------------------------------
Marcus Sundberg | http://www.stacken.kth.se/~mackan
Royal Institute of Technology | Phone: +46 707 295404
Stockholm, Sweden | E-Mail: [EMAIL PROTECTED]