Subject: threads again
To: None <tech-kern@netbsd.org>
From: Simon J. Gerraty <sjg@quick.com.au>
List: tech-kern
Date: 03/02/1999 00:52:02
I've just been looking at the various thread discussions in this
list....

I'm curious as to the model proposed for user threads and their
interaction with the kernel.

I'm particularly interested wrt to native thread support for a Java VM
(just got back from Javaus99 :-)

While Solaris threads may be complex, the ability to map many user
space "threads" to a smaller number of kernel threads sounds like a
good thing - assuming you want a JVM that can support 1000's of
threads efficiently.  You probably don't need many more "kernel"
threads than you have cpu's available, otherwise unless the kernel
context switches are way slick, you can't scale to 1000's of threads. 

For the JVM, green_threads will do until the kernel supports SMP, but
it would be nice to hear where (if anywhere) NetBSD is heading.

--sjg