Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Feb 2004 18:36:52 +0300
From:      Mike Makonnen <mtm@identd.net>
To:        Craig Rodrigues <rodrigc@crodrigues.org>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: pthread_create() blocks if maxthreads reached?
Message-ID:  <20040201153652.GA2637@mobile.acs-et.com>
In-Reply-To: <20040201152105.GA2370@crodrigues.org>
References:  <20040201061212.GA6349@crodrigues.org> <Pine.BSF.4.21.0401312317590.38031-100000@InterJet.elischer.org> <20040201152105.GA2370@crodrigues.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Feb 01, 2004 at 10:21:05AM -0500, Craig Rodrigues wrote:
> On Sat, Jan 31, 2004 at 11:27:39PM -0800, Julian Elischer wrote:
> > On Sun, 1 Feb 2004, Craig Rodrigues wrote:
> > > 
> > > If I link this program with -lthr or -lc_r, the
> > > program will terminate.
> > 
> > Successfully? 
> > that's interesting.. libthr should theoretically b elimited to about
> > 8000 threads.. (on x86).
> 
> If I link with -lthr, I get:
> 
> Max threads reached at: 109
> 

There was an artificial limit, which I just bumped up to the max allowable
limit a few minutes ago.

Cheers.
-- 
Mike Makonnen  | GPG-KEY: http://www.identd.net/~mtm/mtm.asc
mtm@identd.net | Fingerprint: 00E8 61BC 0D75 7FFB E4D3  6BF1 B239 D010 3215 D418
mtm@FreeBSD.Org| FreeBSD - Unleash the Daemon !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040201153652.GA2637>