On Tue, 24 Oct 2000, Evan Jeffrey wrote:
>
> > Multiple event queues are bad, because it completely breaks the notion of
> > even-driven programming. How do you want to listen to them all? You can't.
> > You can only listen to one event queue at a time - unless you create some
>
> You can listen to one event queue per thread.
Oh, I agree.
And I think something like CLONE_EVENTS would be fine - and decide
yourself what kind of threads you want (do you want indistinguishable
"anonymous" threads like apache, or do you want a threads that handle
separate event queues). Or you might have a mixture of the two - for web
serving the "accept()" event list might be a separate thing with a few
threads doing that, while "worker threads" handle the actual IO..
But if you want to have some event queue ID, I just wonder how you'd set
it up sanely without tons of complications..
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
- Re: Linux's implementation of poll() not scalable? Jordan Mendelson
- Re: Linux's implementation of poll() not scalable? Alexander Viro
- Re: Linux's implementation of poll() not scalable? Linus Torvalds
- Re: Linux's implementation of poll() not scalable? Dave Zarzycki
- Re: Linux's implementation of poll() not scalable? H. Peter Anvin
- Re: Linux's implementation of poll() not scalable? Lincoln Dale
- Re: Linux's implementation of poll() not scalable? Mitchell Blank Jr
- Re: Linux's implementation of poll() not scalable? Linus Torvalds
- Re: Linux's implementation of poll() not scalable? Mitchell Blank Jr
- Re: Linux's implementation of poll() not scalable? Evan Jeffrey
- Re: Linux's implementation of poll() not scalable? Linus Torvalds
- Re: Linux's implementation of poll() not scalable? H. Peter Anvin
- Re: Linux's implementation of poll() not scalable? Gideon Glass
- Re: Linux's implementation of poll() not scalable? Simon Kirby
- Re: Linux's implementation of poll() not scalable? Linus Torvalds
- Re: Linux's implementation of poll() not scalable? Simon Kirby
- Re: Linux's implementation of poll() not scalable? Miquel van Smoorenburg
- Re: Linux's implementation of poll() not scalable? Dan Maas
- Re: Linux's implementation of poll() not scalable? Kai Henningsen
- async IO events Ingo Molnar
- Re: Linux's implementation of poll() not scalable? Andi Kleen

