Re: Thread implementations...

Chris Wedgwood (chris@cybernet.co.nz)
Sat, 20 Jun 1998 11:14:27 +1200


On Fri, Jun 19, 1998 at 01:43:03PM +0100, Alan Cox wrote:
>
> With Bill Hawes patches for handling file arrays it is. For the generic
> case its not. Note that you can forget using select() with 10K descriptors
> if you ever want to get any work done.[B

perhaps being a kernel nazi here could help, basically have select(2) return
EPERM or some such (EDONTBEADUMBASS) where more than say 1024 fd's are
specified.

I've been playing with poll and it seems to work adequately and seems to
scale better, but nothing too concrete yet (it compiles and runs, lets ship
it).

Sure, its an ugly hack, but it would break broken code hard, before its
perhaps too late.

-Chris

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu