From owner-freebsd-threads@FreeBSD.ORG Sun Feb 1 07:41:41 2004 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A45D316A4CE for ; Sun, 1 Feb 2004 07:41:41 -0800 (PST) Received: from telecom.net.et (sparrow.telecom.net.et [213.55.64.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id C885A43D1F for ; Sun, 1 Feb 2004 07:41:36 -0800 (PST) (envelope-from mtm@identd.net) Received: from [213.55.67.209] (HELO pool-151-200-10-97.res.east.verizon.net) by telecom.net.et (CommuniGate Pro SMTP 3.4.8) with ESMTP-TLS id 35661953; Sun, 01 Feb 2004 18:35:55 +0300 Received: from mobile.acs-et.com (localhost [127.0.0.1]) ESMTP id i11FcaUp002684; Sun, 1 Feb 2004 18:39:10 +0300 (EAT) (envelope-from mtm@mobile.acs-et.com) Received: (from mtm@localhost) by mobile.acs-et.com (8.12.10/8.12.10/Submit) id i11FbZGv002679; Sun, 1 Feb 2004 18:37:35 +0300 (EAT) (envelope-from mtm) Date: Sun, 1 Feb 2004 18:36:52 +0300 From: Mike Makonnen To: Craig Rodrigues Message-ID: <20040201153652.GA2637@mobile.acs-et.com> References: <20040201061212.GA6349@crodrigues.org> <20040201152105.GA2370@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040201152105.GA2370@crodrigues.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD/5.2-CURRENT (i386) cc: Julian Elischer cc: freebsd-threads@freebsd.org Subject: Re: pthread_create() blocks if maxthreads reached? X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Feb 2004 15:41:41 -0000 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 !