[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell
Subject:    Re: When is it safe to cheat?
From:       Fergus Henderson <fjh () cs ! mu ! oz ! au>
Date:       2000-05-13 21:59:16
Message-ID: 20000514075322.A4129 () hg ! cs ! mu ! oz ! au
[Download RAW message or body]

On 10-May-2000, Sverker Nilsson <sverker.is@home.se> wrote:
> Fergus Henderson wrote:
> > To give you a practical example: on SPARCs, the contents of
> > uninitialized stack slots are unspecified, and in practice they are
> > nondeterministic.  This happens because the SPARC's register windows
> > get flushed to the stack when a context switch occurs, and the timing
> > of context switches is in general nondeterministic.  If you write a C
> 
> Which OS on the Sparc are you referring to?

SunOS.

> Seems to me that this OS doesn't support transparent context
> switches.

Yes.  Off-hand, I'm not sure whether this is merely a flaw of the
OS or whether it is due to the hardware.  I guess comp.arch would be
the place to go to find people who know the answer to that.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3        |     -- the last words of T. S. Garp.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic