From owner-freebsd-hackers  Fri Oct 13 14:15:24 1995
Return-Path: owner-hackers
Received: (from root@localhost)
          by freefall.freebsd.org (8.6.12/8.6.6) id OAA12983
          for hackers-outgoing; Fri, 13 Oct 1995 14:15:24 -0700
Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211])
          by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id OAA12962
          ; Fri, 13 Oct 1995 14:15:17 -0700
Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA18214; Fri, 13 Oct 1995 14:10:02 -0700
From: Terry Lambert <terry@lambert.org>
Message-Id: <199510132110.OAA18214@phaeton.artisoft.com>
Subject: Re: Netscape 2.0beta1 - Port of HotJava to FreeBSD and NetBSD More Usefull?
To: pete@RockyMountain.rahul.net (Pete Delaney)
Date: Fri, 13 Oct 1995 14:10:02 -0700 (MST)
Cc: jehamby@lightside.com, terry@lambert.org, pete@RockyMountain.rahul.net,
        freebsd-hackers@FreeBSD.ORG, ports@FreeBSD.ORG,
        netbsd-ports@netbsd.org
In-Reply-To: <199510130835.AA03397@RockyMountain.rahul.net> from "Pete Delaney" at Oct 13, 95 01:35:40 am
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 1097      
Sender: owner-hackers@FreeBSD.ORG
Precedence: bulk

>    > > I heard there was some fairly good progress being made on a Linux port.
>    > > Is this true?  Because if the Linux people have a working version, then a
>    > > FreeBSD/NetBSD version would be almost trivial from there.
>    > 
>    > Not so.  According to Linus (and Alan Cox), Linux has kernel
>    > multithreading.
> 
> I suppose a thread library, like SusOS has, is likely necessary, but I
> really doubt kernel multithreading is necessary. Any bets?

Sun's multithreading as of Solaris is a kernl/user space cooperative
model, with n kernel threads being mapped to m user space threads
(m >= n).

So the only real threading on Solaris is kernel.

The SunOS LWP library (a purely aioread/aiowrite/aiowait/aiocancel based
task switcher) is supported via the kernel calls for binaray compatability
reasons, but an lwp library is not provided for Solaris: you are expected
to use the kernel thread model.

SVR4.2 and above uses the same model.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.