This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [rfc] no more than 1020 threads total in a processes lifetime?
- To: Ben Collins <bcollins at debian dot org>
- Subject: Re: [rfc] no more than 1020 threads total in a processes lifetime?
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 24 Dec 2000 08:39:17 -0800
- Cc: GNU C Library <libc-alpha at sourceware dot cygnus dot com>
- References: <20001224112009.Q18814@visi.net>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
Ben Collins <bcollins@debian.org> writes:
> This program exemplifies a problem in a Debian bug report that where
> after creating more than 1020 threads (on my sparc, 1023 for him on
> i386), it could no longer create any more threads. However, the main
> thread hung after this (seemingly in pthread_create()). Is this test
> case messed in someway, or is this a bug?
Come on, if you are the responsible person for the C library then you
must be willing to learn a bit. The thread library behaves just fine.
In the first section on any pthread introduction you'll find why.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------