[e-lang] Patches for review: vat shutdown

Thomas Leonard tal at it-innovation.soton.ac.uk
Mon Oct 25 03:16:17 PDT 2010


Patches on my "next" branch for review:


1. Fixed infinite-loop processing unknown updoc directives

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/c9f858cd8b2424cd5fa8f789850ebe5044b91582


2. Removed UserThread that was created per ListenThread

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/f5f366d279be6343a92d3eaddd43a4d951f12bc6

(unless someone can explain what this was for)


3. Allow result of orderlyShutdown to resolve

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/3f5cb2254efa258aa9724697dab8e87b9890cadf

The result is now a promise in the sending vat, which is resolved by
the VatRedirector. Before, it returned a promise in the vat being shutdown,
which ignored __whenMoreResolved messages.

This should also fix thread-safety bugs in mergeInto, orderlyShutdown and
morphInto.


4. NearRef.sendMsg propagates exceptions

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/212b024dd8abf19f074df95d818f4a0b593ea829


5. Added static Runner.whenDead() method to register a deadManSwitch

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/e185c8a1c8fed9344c521c215ec97c9cf701ff98

(not sure whether __reactToLostClient is the right method to call here)


6. Shut down VatTP automatically when its vat is shut down

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/940fe263450a6bb9c0a34674e23a94f2337749b3


7. Added "?? shutdown vat @vat" updoc directive

http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/7d4f1c55705bef7abafe05fbcb0e688263be2ecd



-- 
Dr Thomas Leonard
IT Innovation Centre
2 Venture Road
Southampton
Hampshire SO16 7NP

Tel: +44 0 23 8076 0834
Fax: +44 0 23 8076 0833
mailto:tal at it-innovation.soton.ac.uk
http://www.it-innovation.soton.ac.uk 



More information about the e-lang mailing list