Again: Native threads

Frank Mehnert kaffe@kaffe.org
Tue, 1 Apr 1997 09:15:33 +0200 (MET DST)


On Thu, 27 Mar 1997, Richard Henderson wrote:

> > This time I have ported Kaffe on Chorus (scaleable Realtime OS) and
> > I didn't need any assembler instructions (Chorus runs ony several
> > platforms, my target was an i486). While the GC is running nothing
> > else runs (LOCK=SpinLock, UNLOCK=SpinUnLock).
> 
> How are you handling the case in which the only reference to an object
> is in a register of another thread?

Sorry, SpinLock and SpinUnlock are completely wrong in this context,
was my error.

In some thread implementations (so in Chorus threads) there are a
function like threadContext which delivers the CPU registers of a
thread.

Frank

Frank Mehnert
email: Frank.Mehnert@mchp.siemens.de