From owner-freebsd-java Thu Jan 23 13:48: 6 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E37037B401 for ; Thu, 23 Jan 2003 13:48:05 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id E34C243ED8 for ; Thu, 23 Jan 2003 13:48:04 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18bpB2-0000lV-00; Thu, 23 Jan 2003 13:46:24 -0800 Date: Thu, 23 Jan 2003 13:46:24 -0800 To: Max Khon Cc: Greg Lewis , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: /usr/local/include/utils.h Message-ID: <20030123214624.GA2919@gnuppy.monkey.org> References: <20030123194719.B25462@iclub.nsu.ru> <20030124044501.B76567@misty.eyesbeyond.com> <20030124033021.A38610@iclub.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030124033021.A38610@iclub.nsu.ru> User-Agent: Mutt/1.5.3i From: Bill Huey (Hui) 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 Fri, Jan 24, 2003 at 03:30:21AM +0600, Max Khon wrote: > I have another (not thoroughly tested) patch to make > -DWITH_NATIVE_THREADS compile on post-4.7 system > > A replacement for j2sdk1.3.1/src/solaris/hpi/native_threads/src/threads_bsd.c > attached. It will not compile on 4.7-RELEASE and earlier, probably > some #ifdef munging should be added but I haven't bumped __FreeBSD_version > after pthreads API modifications. Probably 470101 could be used > to filter out most pre-4.7 installations and it will safely work > for 4.8-RELEASE and later (including 5.0-RELEASE and later). Native threads don't fully work anyway and it was largely a stepping stone for HotSpot, so the key component for native threading is to get HotSpot fully compiling with the latest changes. I have a libc_r jmp_buf thingy in the works that suppose to fix the problems with 1.4 J2SE along with 1.3.1, but I haven't finished it yet. I slacked off waiting for the new ucontext stuff to be committed for libc_r. > I haven't looked at PR posted today that fixes something related > to native threads (by the way is it really necessary to use > native threads for hotspot?) -- it's hard to read .uue Yes, HotSpot is pure native threading. > and probably will not have enough spare time to fix problems with > native threads my patch may introduce but I will be glad to > hear work/doesn't work reports and do submit this file so it > can be tested and probably integrated to patchset8 by someone else. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message