On Thu, Oct 22, 2009 at 6:22 PM, Howard Lewis Ship <hls...@gmail.com> wrote:
>
> Just had a bit of a gotcha on Clojure that I thought I'd share.
>
> My tests started hanging after completion, which was a real pain on
> the continuous integration server.
>
> After some investigation, I determine that this unwanted behavior
> started when I first introduced agents into my code.
>
> I needed to add a call to the shutdown-agents function into my test
> script, otherwise the main thread would complete, but the agents
> thread pool would keep the JVM from shutting down.
>
> Is there a way to mark agents as a daemon thread?  Is that desirable?

This has come up a few times.  What is less clear is how best to
solve it:

http://www.assembla.com/spaces/clojure/tickets/124

--Chouser

--~--~---------~--~----~------------~-------~--~----~
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