Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 1998 01:21:47 -0500 (EST)
From:      "John S. Dyson" <dyson@FreeBSD.ORG>
To:        mike@smith.net.au (Mike Smith)
Cc:        jb@cimlogic.com.au, nate@mt.sri.com, mike@smith.net.au, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG
Subject:   Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_yield.c
Message-ID:  <199803080621.BAA02010@dyson.iquest.net>
In-Reply-To: <199803080535.VAA08550@dingo.cdrom.com> from Mike Smith at "Mar 7, 98 09:35:03 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith said:
> 
> So what differentiates these "heavyweight" threads from "lightweight" 
> threads?
> 
There is redundant information in each thread, and we need to push the
machine state into each thread.  Things like pwd, etc need to adhere
to POSIX as to where the various process state items are.  For now, we
are keeping the info in each process (thread).

As far as VM state goes, that will be fully shared and locked.  We'll
get a large part of the advantage of the shared VM space, etc.  But
we won't get everything, and we will likely have a more complete
implementation in the 3.1 timeframe.

One purpose for getting the kernel threads in for 3.0 is so that we
can run packages that depend on threads without gross or strange hacks.
For example, if Netscape depended upon a kernel threads implementation,
who cares at all if our implementation is a little slower?  The key is
that the software will work, and the performance will do nothing but
get better.

-- 
John                  | Never try to teach a pig to sing,
dyson@freebsd.org     | it just makes you look stupid,
jdyson@nc.com         | and it irritates the pig.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803080621.BAA02010>