lkml.org 
[lkml]   [1998]   [Jun]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 26 Jun 1998 06:26:17 +0200 (MET DST)
FromMOLNAR Ingo <>
SubjectRe: Thread implementations...
On Fri, 26 Jun 1998, Richard Gooch wrote: 

> > this is already implemented in glibc 2.1. Take a look at the aio_
> > interface there. Async threads take care of waiting for IO and stuff.
> 
> Yes, you can handle multiple connections using aio_*(), but you end up
> with one thread (with the glibc 2 implementation) per open connection,
> right? So when we have 10000 connections, we have 10000 threads,
> right? I don't think aio_*() scales very well.

it might be that the implementation does not scale well. Unless there is
something fundamentally broken about the aio_...() interface (API) itself,
why reimplement the wheel? It's a standard interface.

-- mingo


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

\
 
 \ /
  Last update: 2005-03-22 12:43    [W:0.421 / U:0.020 seconds]
©2003-2008 Jasper Spaans