Date: Thu, 10 Jan 2002 13:53:24 -0800 From: Alfred Perlstein <bright@mu.org> To: Nate Williams <nate@yogotech.com> Cc: Kelly Yancey <kbyanc@posi.net>, Terry Lambert <tlambert2@mindspring.com>, Daniel Eischen <eischen@pcnet1.pcnet.com>, Dan Eischen <eischen@vigrid.com>, Peter Wemm <peter@wemm.org>, Archie Cobbs <archie@dellroad.org>, arch@FreeBSD.ORG Subject: Re: Request for review: getcontext, setcontext, etc Message-ID: <20020110135324.N7984@elvis.mu.org> In-Reply-To: <15422.3343.322370.370639@caddis.yogotech.com>; from nate@yogotech.com on Thu, Jan 10, 2002 at 02:52:15PM -0700 References: <15421.64170.308581.606485@caddis.yogotech.com> <Pine.BSF.4.21.0201101309200.6849-100000@gateway.posi.net> <15422.3343.322370.370639@caddis.yogotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
* Nate Williams <nate@yogotech.com> [020110 13:52] wrote: > > I mean if we've got to go to the kernel to switch thread contexts, why > > not just have the kernel track all of the threads and restore context > > once, just for the current thread, rather than twice (once for the > > scheduler and another for the scheduler to switch to the current > > thread context)? > > For effeciency reasons... And flexibility as well, but I guess that can be lumped under effeciency. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' Tax deductable donations for FreeBSD: http://www.freebsdfoundation.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020110135324.N7984>
