Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jan 2002 15:44:15 -0800
From:      Bakul Shah <bakul@bitblocks.com>
To:        nate@yogotech.com (Nate Williams)
Cc:        Bakul Shah <bakul@bitblocks.com>, Terry Lambert <tlambert2@mindspring.com>, Dan Eischen <eischen@vigrid.com>, arch@FreeBSD.ORG
Subject:   Re: Request for review: getcontext, setcontext, etc 
Message-ID:  <200201112344.SAA20185@ajax.cnchost.com>
In-Reply-To: Your message of "Fri, 11 Jan 2002 15:56:31 MST." <15423.28063.92751.501022@caddis.yogotech.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.

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?200201112344.SAA20185>