![]() |
At 09:15 AM 5/16/99 +0100, Aidan Van Dyk wrote: >Dispatcher.c++ uses fds_bits nicely for some quick checking. The easiest >"quick" solution for Dave would be to define __USE_XOPEN at the top >Dispatcher.c++. or something like "#define fds_bits __fds_bits" in Dispatcher.c++ . >But I don't think this is a proper solution for the distribution. >Do we want to know the internals and use the quicker anySet, numSet? or >not know the internals and iterate through every bit to find them... No, it isn't a proper solution at all. The data structure isn't really built for this type of operation, it works much better when checking a known file descriptor for status than scanning through the other way. - Robert