This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]