On 11 Aug 2004, at 06:10, Dan Sugalski wrote:
* Networking: socket, accept, connect, listen, etc. (see "Files")
Yeah, and this'll be ever so much fun too. We need to add in select and poll to that list.
Modern operating systems all have a way to get around the suckiness of poll/select when you have large number of fds (epoll/aio/kqueue/whatever), there should be away to override those interfaces as well :-) (maniac laugh)
Gah. I want one semi-generic way. And a lollypop, too, so at least I'm pretty sure to get one of two.
Overriding poll/select is more because I'm assuming that any system which overrides the file functions may well override the monitoring functions for filehandles.
Part of me's tempted to just define our own set of functions, but the problem there is that we then put the onus on the embedding app to conform to us, which I'm not sure is the right way to go about things.
--
Dan
--------------------------------------it's like this------------------- Dan Sugalski even samurai [EMAIL PROTECTED] have teddy bears and even teddy bears get drunk