From owner-freebsd-java Tue Nov 20 18:58: 0 2001 Delivered-To: freebsd-java@freebsd.org Received: from gnuppy.monkey.org (cx739861-a.dt1.sdca.home.com [24.5.164.61]) by hub.freebsd.org (Postfix) with ESMTP id 75E6B37B416 for ; Tue, 20 Nov 2001 18:57:57 -0800 (PST) Received: from billh by gnuppy.monkey.org with local (Exim 3.32 #1 (Debian)) id 166NaG-000340-00; Tue, 20 Nov 2001 18:57:56 -0800 Date: Tue, 20 Nov 2001 18:57:55 -0800 To: Joe Kelsey Cc: freebsd-java@freebsd.org, Bill Huey Subject: Re: Plugin fails in sysThreadBootstrap Message-ID: <20011120185755.A11757@gnuppy> References: <15354.52288.892293.990664@zircon.zircon.seattle.wa.us> <20011120160821.A1049@gnuppy> <15355.5066.999963.87971@zircon.zircon.seattle.wa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15355.5066.999963.87971@zircon.zircon.seattle.wa.us> User-Agent: Mutt/1.3.23i From: Bill Huey Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Nov 20, 2001 at 06:39:06PM -0800, Joe Kelsey wrote: > 1) Define environment variables for the plugin: ... Quick news... I think I got native threading mostly working by finding a bug in the timed condition-variable handling in uthread_kern.c. It incorrectly doesn't check to see if the thread is PS_SUSPENDED before it removes it from the work-queue, places it in the run-queue and then marks it PS_RUNNING. The block is in: /usr/src/lib/libc_r/uthread/uthread_kern.c line 390 according to "vim". ;-) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message