lkml.org 
[lkml]   [1999]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: > 15,000 Simultaneous Connections
Date
From


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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:1.349 / U:0.688 seconds]
©2003-2014 Jasper Spaans. Advertise on this site