From owner-freebsd-threads@FreeBSD.ORG Mon Feb 21 10:34:26 2005 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 226A416A4CE; Mon, 21 Feb 2005 10:34:26 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6F6A43D48; Mon, 21 Feb 2005 10:34:25 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with SMTP id 2E42646B04; Mon, 21 Feb 2005 05:34:23 -0500 (EST) Date: Mon, 21 Feb 2005 10:32:48 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Xu In-Reply-To: <42199148.8040104@t2t2.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Daniel Eischen cc: threads@freebsd.org cc: David Xu Subject: Re: libpthread vs libthread, simply mysql benchmark (fwd) 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: Mon, 21 Feb 2005 10:34:26 -0000 On Mon, 21 Feb 2005, David Xu wrote: > There are lots of differences, I don't think they are the same thing. > Although it was derived from libpthread, now it is a new library, I > rewrote most part of code. I'm thinking he best place to import it is as a replacement for libthr, since that's the closest architecturally (libthr was also 1:1, synchronization based on umtx, etc). However, we should ping jeff and mtm to make sure they don't object. Another reason not to drop it over libpthread is that it keeps libpthread around for direct comparison (performance, etc), and also means that the production thread library from 5.x is still in 6.x, so gives a better path for testing and merging of fixes. Robert N M Watson > > Daniel Eischen wrote: > > On Mon, 21 Feb 2005, David Xu wrote: > > > > > >>May I import the library into tree ? I remembered that someone said if > >>it is not > >>in cvs tree, few of people will try it. if people tried it, and find it > >>is not valuable, > >>I can remove it from tree. > > > > > > I would rather have you incorporate it into libpthread if you can > > add the SCHED_* and priority mutex support. > > > >