[e-lang] Lamport slots with PBC (please ignore duplicate msg if exists)

Martin_Scheffler martinscheffler at googlemail.com
Fri Feb 9 05:13:53 CST 2007




Mark S. Miller wrote:
> 
> 
> For this simple common case, it's better to say:
> 
>         def sr := makeSturdyRef.temp(obj)
> 
OK. I copy and pasted that from echat.e-awt, better change that there, too

I did some digging in the CapTp sources. Of course I don't really know what
I'm doing there, but it seems that all pbcopy objects get sent more than
once when using sturdy ref introduction, but only once when using virtual
seedvat. I added a trace line to the substitute function in the
CapTPReplacer, simply printing
System.out.println("UNCALLING!!! "+ref);
I passed a simple integer between vats. Using virtual seedvat, this only
popped up once, but twice when using sturdy ref introduction.
I hope that helps, sorry for nagging :)

Cheers,
Martin
-- 
View this message in context: http://www.nabble.com/Lamport-slots-with-PBC-tf3157110.html#a8883880
Sent from the E Lang mailing list archive at Nabble.com.



More information about the e-lang mailing list