But after I shutdown the agent,
I created a new agent with the same name and also defined the
function.
So shutdown on earlier agent should not matter?

-Sun

On Jan 6, 11:46 am, Chouser <chou...@gmail.com> wrote:
> On Tue, Jan 6, 2009 at 11:18 AM, Mark Volkmann
>
> <r.mark.volkm...@gmail.com> wrote:
>
> > On Tue, Jan 6, 2009 at 10:00 AM, wubbie <sunj...@gmail.com> wrote:
> >> user=> (shutdown-agents)
> >> nil
>
> [snip]
>
> >> user=> (send-off my-agent sleep-and-multiply 7 1500)
> >> java.util.concurrent.RejectedExecutionException (NO_SOURCE_FILE:0)
>
> > I don't know why you're getting that error.
>
> The error is because you shut down the agent pools.  Don't do that
> until you're done sending actions to agents!
>
> --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
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