I found my problem. There were some issues with the underlying Subversion actions happening at the same time. I wasn't catching those errors though because I wasn't looking at agent-errors.
I have it working correctly now with an agent per project (since a series of updates for the project is the task), with the call to (apply await agents), and ending with (shutdown-agents). Thanks for your response. Justin On Wed, Jan 14, 2009 at 5:47 PM, Timothy Pratley <timothyprat...@gmail.com>wrote: > > Your omission of (apply await agents) is allowing the program to > terminate before all your created threads finish I think. > If I might further comment, your threading model is not quite right to > me... > You've created 5 agents and then used them to 'send-off' as many > threads as there are projects. > I would recommend instead using an agent to represent each task and > using send to take advantage of the thread pool so you don't need to > worry about how many threads there are. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---