From owner-freebsd-threads@FreeBSD.ORG Sun May 4 11:00: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 9095937B401 for ; Sun, 4 May 2003 11:00:19 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 958DB43F3F for ; Sun, 4 May 2003 11:00:18 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h44I0HBg024225; Sun, 4 May 2003 14:00:17 -0400 (EDT) Received: from localhost (eischen@localhost)h44I0HQ7024220; Sun, 4 May 2003 14:00:17 -0400 (EDT) Date: Sun, 4 May 2003 14:00:17 -0400 (EDT) From: Daniel Eischen To: Kazuaki Oda In-Reply-To: <20030505023324.09dd90e0.kaakun@highway.ne.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: threads@freebsd.org Subject: Re: Patch for running Java2D demo (jdk-1.4.1p3_3) 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: Sun, 04 May 2003 18:00:19 -0000 On Mon, 5 May 2003, Kazuaki Oda wrote: > On Sun, 4 May 2003 12:18:58 -0400 (EDT) > Daniel Eischen wrote: > > > On Sun, 4 May 2003, Kazuaki Oda wrote: > > > Hi, > > > > > > After applying the attached patch, I've been able to run Java2D demo > > > under jdk-1.4.1p3_3 with libpthread (libkse). > > > > > > This patch is for problem with suspending and resuming thread. > > > > I just commited this, but modified a bit. Please check it and > > see that it works as expected. > > > > Thanks! > > > > -- > > Dan Eischen > > > > > > Thank you for commiting. I just tested this, and it works fine except > for sometimes hanging up. > When it occurs, the only thing I can is send SIGKILL to the java process. > I think this is because of rtld problem, right? Yes, I think so. You can try the patch I posted in: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=179964+0+archive/2003/freebsd-threads/20030504.freebsd-threads to see if that fixes the problem with rtld-elf. I don't want to commit it because it would break round-robin scheduling. -- Dan Eischen