From owner-freebsd-java Tue Jul 10 11:52:15 2001 Delivered-To: freebsd-java@freebsd.org Received: from yez.hyperreal.org (gate.sp.collab.net [64.211.228.36]) by hub.freebsd.org (Postfix) with SMTP id 89CC037B407 for ; Tue, 10 Jul 2001 11:52:12 -0700 (PDT) (envelope-from brian@collab.net) Received: (qmail 47243 invoked by uid 1000); 10 Jul 2001 18:53:37 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 10 Jul 2001 18:53:37 -0000 Date: Tue, 10 Jul 2001 11:53:37 -0700 (PDT) From: Brian Behlendorf X-X-Sender: To: Nate Williams Cc: Subject: Re: Threads in Java on a variety of platforms In-Reply-To: <15179.8807.678021.249446@nomad.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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, 10 Jul 2001, Nate Williams wrote: > 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. I'm wondering whether it's worth the FreeBSD porter's time to advocate that the core Java JVM could adopt the threading API in Apache's APR library (see http://apr.apache.org/) It acts as an abstraction layer over native thread implementations, as well as pthreads, IIRC. I'm not a developer on that project so I don't have the technical details. It may provide portability for a number of other functions as well. And the licensing is standard Apache license, so it can be integrated into the non-open-source JVM without a problem. Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message