From owner-freebsd-threads@FreeBSD.ORG Mon Feb 21 11:23:56 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 0E7D416A4CE; Mon, 21 Feb 2005 11:23:56 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id D06B943D1F; Mon, 21 Feb 2005 11:23:55 +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 6608B46B1C; Mon, 21 Feb 2005 06:23:55 -0500 (EST) Date: Mon, 21 Feb 2005 11:22:20 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: David Xu In-Reply-To: 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 11:23:56 -0000 On Mon, 21 Feb 2005, Robert Watson wrote: > 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. BTW, have you had a chance to do gdb debugging support for this as yet? Robert N M Watson