Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 16:45:52 -0700
From:      Nate Williams <nate@yogotech.com>
To:        Bakul Shah <bakul@bitblocks.com>
Cc:        nate@yogotech.com (Nate Williams), Terry Lambert <tlambert2@mindspring.com>, Dan Eischen <eischen@vigrid.com>, arch@FreeBSD.ORG
Subject:   Re: Request for review: getcontext, setcontext, etc 
Message-ID:  <15423.31024.859659.324334@caddis.yogotech.com>
In-Reply-To: <200201112344.SAA20185@ajax.cnchost.com>
References:  <15423.28063.92751.501022@caddis.yogotech.com> <200201112344.SAA20185@ajax.cnchost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> > > I have a simulation thread library which allows a thread
> > > context switch with 12 or so instructions on a x86.
> 
> > Does it do a full context switch, or a partial context switch? :)
> 
> Good enough!  Since this is simulation, all context switches
> are cooperative which simplifies things considerably.
> 
> > It's not any more/less relevant now.  It's just that it was mostly
> > misunderstood in the past, and since we're trying to make get/setcontext
> > library calls, we want to make sure to get it right.  According to
> > Bruce, it may not work as we expected in the past.
> 
> Got you.  Thanks!  There are other OSes on the x86 that
> provide threads (solaris, windows...).  I wonder how they
> handle this.

Good question.  I was hoping Bruce would clarify, but he's bowed out of
the dicussion...



Nate

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?15423.31024.859659.324334>