[e-lang] E and FUSE-j integration

Mark Miller erights at gmail.com
Wed Sep 26 10:54:07 EDT 2007


On 9/26/07, Kevin Reid <kpreid at mac.com> wrote:
> When the callee is invoked, it sends an appropriate message into the
> vat, and then blocks waiting for notification that the result promise
> has resolved.
>
> There don't seem to be pretty operations for doing this; Vat#now/1
> only does one-turn operations. MarkM, is there an existing mechanism
> for this? If not, it shouldn't be hard to implement -- we just need a
> when-resolved-reactor which can wake up a thread, which we attach to
> the result promise.

You are correct both that there isn't currently such a mechanism, and
that it should be fairly straightforward. The result would support the
Erlang style of concurrency, where a caller in effect build a
synchronous RPC out of asynchronous msgs. This would, of course,
re-introduce all the normal deadlock dangers, but it could be done.

-- 
Text by me above is hereby placed in the public domain

    Cheers,
    --MarkM


More information about the e-lang mailing list