From owner-freebsd-current@FreeBSD.ORG Mon Nov 13 09:01:31 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id C471716A47B; Mon, 13 Nov 2006 09:01:30 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-current@freebsd.org Date: Mon, 13 Nov 2006 17:01:25 +0800 User-Agent: KMail/1.8.2 References: <20061110151247.GA64530@zone3000.net> <200611130707.10220.davidxu@freebsd.org> <3aaaa3a0611122020n461719nfad2adf378498f5a@mail.gmail.com> In-Reply-To: <3aaaa3a0611122020n461719nfad2adf378498f5a@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200611131701.25572.davidxu@freebsd.org> Cc: Chris Subject: Re: libpthread vs libthr. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 09:01:31 -0000 On Monday 13 November 2006 12:20, Chris wrote: > > Interesting libthr can use system or process scope? as far as I am > aware it was using whatever the default is for libthr. > > Chris FreeBSD 6.1, the default is libthr uses process scope, but I know mysql explicitly uses system scope thread unless you forced it to use process scope(there is a knob in the ports's Makefile). if the mysql uses system scope (the default), you should see the same effect with libpthread, i.e you said it starved your server. David Xu