Date: Sun, 8 Mar 1998 16:29:39 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: nate@mt.sri.com (Nate Williams) Cc: jb@cimlogic.com.au, 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: <199803080529.QAA10869@cimlogic.com.au> In-Reply-To: <199803080523.WAA06336@mt.sri.com> from Nate Williams at "Mar 7, 98 10:23:10 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Nate Williams wrote: > > that it will all just come out in the wash. Kernel threads aren't > > light weight, though. > > If kernel threads aren't light-weight, then what differentiates them > from processes? Shared address space. The threads in user-space each have their own stack (once you allocate it when you know you've go a new thread - the kernel doesn't do this for you). All scheduling _currently_ uses the process scheduler, so each thread is actually scheduled as though it is a process, rather than fighting other threads in the same process for the process's time allocation. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 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?199803080529.QAA10869>