On Oct 28, 7:43 am, Tony Butterfield <t...@1060.org> wrote:
> 1) start and stop the Clojure runtime on demand.

"Clojure runtime" is a bit of a misnomer; Clojure has no runtime other
than the compiler.  That's why all the methods of clojure.lang.RT are
static.

> there a way to cleanly shutdown. I.e. stop threads, and enable a full
> garbage collection of the Clojure libraries?

Just guessing, but this should do it:
1. (shutdown-agents)
2. release all references to clojure.lang.RT
3. System.gc()

> 2) is there a way to ensure isolation of functionality in one runtime?

Nope.  Again, there's no such thing as a Clojure runtime.  Clojure is
really more like a special kind of Classloader that happens to
load .clj files.

-SS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to