Shutting down VatTP
Thomas Leonard <tal-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected]>
| Newsgroups | gmane.comp.lang.e.general |
|---|---|
| Organization | IT Innovation |
| Message-ID | <1287157805.2167.12.camel@danebury> |
It's quite useful to be able to restart a vat without having to restart the whole JVM. This requires shutting down the listing sockets (among other things), so that the new vat can start listening on the existing socket. What's the best way to do this? I got it working in a hacky way like this: http://gitorious.org/~tal-itinnov/repo-roscidus/it-innovation/commit/8b94a34e9e45df1ea3cdf933bfe3c96dedb2c317 - How should this be exposed to E code? - introducer.shutdown()? - Should vat.orderlyShutdown do this automatically? - What else needs to be done? -- 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-v5nx5w6akNyLE8xUarVfuPLx9OUvmyODWmv/[email protected] http://www.it-innovation.soton.ac.uk