From owner-freebsd-threads@FreeBSD.ORG Sat May 3 00:02:19 2003 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 A77A437B401; Sat, 3 May 2003 00:02:19 -0700 (PDT) Received: from magic.adaptec.com (magic-mail.adaptec.com [208.236.45.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A14D43F85; Sat, 3 May 2003 00:02:19 -0700 (PDT) (envelope-from scott_long@btc.adaptec.com) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.11.6/8.11.6) with ESMTP id h436x9Z19181; Fri, 2 May 2003 23:59:09 -0700 Received: from btc.adaptec.com (hollin.btc.adaptec.com [10.100.253.56]) by redfish.adaptec.com (8.8.8p2+Sun/8.8.8) with ESMTP id AAA29092; Sat, 3 May 2003 00:02:15 -0700 (PDT) Message-ID: <3EB368D0.7050208@btc.adaptec.com> Date: Sat, 03 May 2003 00:59:28 -0600 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030414 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Samplonius References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: Daniel Eischen cc: java@freebsd.org cc: threads@freebsd.org Subject: Re: Java and native threads using libpthread 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: Sat, 03 May 2003 07:02:20 -0000 Tom Samplonius wrote: > On Fri, 2 May 2003, Daniel Eischen wrote: > > >>I know you guys have made a lot of progress with native threading >>using libc_r, but I'd like to see you try out libpthread (libkse) >>at some point. > > > What kind of implmentation is libpthread? M:N or 1:1? freebsd-current > has had several lengthy discussion about various competing available, > proposed, or planned threading implemenations. I couldn't determine from > the archives what the conclusion was. I hoping for a summary of what > libpthread does now. > > ... > libpthread was recently renamed back to libkse to avoid confusion until it is ready for prime-time. It is M:N. libthr is 1:1. Both are not ready for prime-time, especially with SMP, but it still might be interesting to test them on UP systems. I tried jdk13 with libthr last month and had mixed results. SwingSet2 ran pretty well, but the mozilla plugin didn't. I haven't tried libkse yet since it deadlocks quite quickly in rtld. Scott