Subject: Re: LWP ad kernel threads
To: Kamal Prasad <kamalpr@yahoo.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 08/02/2002 11:11:41
On Fri, 2 Aug 2002, Kamal Prasad wrote:

> --- Bill Studenmund <wrstuden@netbsd.org> wrote:
> > Kernel threads are available and used. User level
> > threads have no kernel
> > support; you have to use userland threading
> > libraries.
> >
> is there an architevctural reason why we cannot attach
> userlevel threads to a kernel level thread (the way
> its done in Solaris)?

Yes.

1.5.X and 1.6 support kernel threads, but they are treated as seperate
processes. They essentially are processes w/o a userland. The scheduler
still schedules a process.

We do have work in progress to add Solaris-style user threads. It is on
the nathanw_sa branch. You should check it out if you're interested. :-)

Take care,

Bill