It seems that having non-daemon threads in the agents pool and requiring a call shutdown agents before the jvm exits makes using agents in a library very difficult. You either need to have as part of your api a function that calls (shutdown-agents) or require the consumer to know you are using agents. Having the API calls seems scary because it can affect other running programs, if its not use properly or in the wrong context. Other places that even these two options fail is any library that is used by a web application in a java web container. Nether party can call (shutdown-agents) because you could affect other sites in the same app server.
-- 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