From owner-freebsd-java Tue Jul 10 9:28:23 2001 Delivered-To: freebsd-java@freebsd.org Received: from mail.xmission.com (mail.xmission.com [198.60.22.22]) by hub.freebsd.org (Postfix) with ESMTP id 80BD637B401 for ; Tue, 10 Jul 2001 09:28:20 -0700 (PDT) (envelope-from glewis@misty.eyesbeyond.com) Received: from [166.70.2.203] (helo=misty.eyesbeyond.com) by mail.xmission.com with esmtp (Exim 3.12 #1) id 15K0N0-0003g8-00; Tue, 10 Jul 2001 10:28:19 -0600 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.3/8.11.3) id f6AGSDj59161; Wed, 11 Jul 2001 01:58:13 +0930 (CST) (envelope-from glewis) Date: Wed, 11 Jul 2001 01:58:13 +0930 From: Greg Lewis To: Nate Williams Cc: past@netmode.ntua.gr, Greg Lewis , Ian Jenkinson , freebsd-java@FreeBSD.ORG Subject: Re: Threads in Java on a variety of platforms Message-ID: <20010711015813.B58979@misty.eyesbeyond.com> References: <000201c1086c$433a29e0$0a64a8c0@buxtongw> <20010710004206.A80869@misty.eyesbeyond.com> <20010710143850.B12282@netmode.ece.ntua.gr> <15179.8807.678021.249446@nomad.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15179.8807.678021.249446@nomad.yogotech.com>; from nate@yogotech.com on Tue, Jul 10, 2001 at 09:42:31AM -0600 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, Jul 10, 2001 at 09:42:31AM -0600, Nate Williams wrote: > [ FreeBSD uses internal green-threads, while most other OS's use native > threads ] > > > This is something that has been bugging me for a while: would it be > > good to implement the native threads in FreeBSD under LinuxThreads or > > NGPT? > > Except that these will never be used in the 'stock' FreeBSD kernel > because of the GPL virus. Second, it's alot of work to rewrite the system > for another threading model. The code (as written) is coded to run > either with green threads, or with native (Posix) threads. Actually, in 1.3.1 the operating system specific part of native threads is restricted to essentially two or three files, so its not too difficult to introduce a new threading system. This is especially true with the LinuxThreads option. With NGPT you may need a bit more work as there are no existing code bases which use it. I agree it would be a lot of work under 1.1 or 1.2 though! -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Mobile: 0419 868 494 Information Technology Web : http://www.eyesbeyond.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message