[rfc] no more than 1020 threads total in a processes lifetime?

Ulrich Drepper drepper@redhat.com
Sun Dec 24 08:39:00 GMT 2000


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   `------------------------


More information about the Libc-alpha mailing list