Re: Thread implementations...

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Fri, 26 Jun 1998 14:19:52 +1000


MOLNAR Ingo writes:
>
> On Fri, 26 Jun 1998, Richard Gooch wrote:
>
> > Anyway, lets see how my threads and migrating FDs scheme scales.
>
> 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.

Regards,

Richard....

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