Messages in this thread | | | Subject | Re: > 15,000 Simultaneous Connections | Date | Wed, 8 Sep 1999 00:34:54 +0200 (MEST) | From | (Rogier Wolff) |
| |
Chuck Lever wrote: > there doesn't appear to be a way to create more than one event queue per > process.
Hmm. In that case, you need a
evqid = create_event_queue ();
declare_interest (int evqid, int fd, int interestmask);
Once we start redefining APIs the fun starts: I just define that the declare_interest pushes a "ready for read" onto the event queue, if declare_interest is called on an fd that already is ready-for-read.
I have seen applications that would switch between select with two distinct different sets.
Roger.
-- ** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 ** *-- BitWizard writes Linux device drivers for any device you may have! --* ------ Microsoft SELLS you Windows, Linux GIVES you the whole house ------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |