Re: Thread implementations...

Richard Gooch (Richard.Gooch@atnf.CSIRO.AU)
Sat, 27 Jun 1998 00:20:28 +1000


Ulrich Drepper writes:
> Richard Gooch <Richard.Gooch@atnf.CSIRO.AU> writes:
>
> > 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?
>
> No. The implementation will only use as many threads as you tell it
> to use. See aio_init().

aio_init() doesn't appear to be part of the standard. "POSIX.4
Programming for the Real World" doesn't mention it.

Regards,

Richard....

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