[e-lang] [Fwd: inter-vat promises]
Mark S. Miller
markm at cs.jhu.edu
Tue May 8 17:34:08 EDT 2007
[Forwarded by permission]
-------- Original Message --------
Subject: inter-vat promises
Date: Mon, 7 May 2007 11:10:20 +0100
From: Tony Finch
If I say something like
def [promise,resolver] := Ref.promise()
alice <- resolve(resolver)
bob <- resolve(resolver)
where alice and bob are in different remote vats, how is the race between
the two attempts to resolve the promise handled? I saw mention on the
erights site that it distinguishes local and cross-site promises, so I
guess that after the send to alice the reolver has changed, and that bob
gets a different kind of thing to alice. Perhaps the promise only ever has
one end that can be resolved at any time?
Tony.
--
f.a.n.finch http://dotat.at/
More information about the e-lang
mailing list