Restart agent thread-pool after calling shutdown-agents

Posted by erikcw on Stack Overflow See other posts from Stack Overflow or by erikcw
Published on 2010-05-31T16:49:31Z Indexed on 2010/05/31 16:53 UTC
Read the original article Hit count: 252

Filed under:
|
|

If I call (shutdown-agents) from the REPL, and then later on try to use an agent later on, I get an exception saying the agent pool isn't available (of course!). The question is, how can the agent thread pool be re-started without having to re-launch the REPL and lose all of my state?

Thanks!

© Stack Overflow or respective owner

Related posts about clojure

Related posts about threadpool