Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Nov 2006 17:01:25 +0800
From:      David Xu <davidxu@freebsd.org>
To:        freebsd-current@freebsd.org
Cc:        Chris <chrcoluk@gmail.com>
Subject:   Re: libpthread vs libthr.
Message-ID:  <200611131701.25572.davidxu@freebsd.org>
In-Reply-To: <3aaaa3a0611122020n461719nfad2adf378498f5a@mail.gmail.com>
References:  <20061110151247.GA64530@zone3000.net> <200611130707.10220.davidxu@freebsd.org> <3aaaa3a0611122020n461719nfad2adf378498f5a@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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