On Oct 3, 2010, at 6:54 PM, Randy Hudson wrote: > Oops, that changes doc is > http://github.com/clojure/clojure/blob/1.2.x/changes.txt > > On Oct 3, 6:52 pm, Randy Hudson <randy_hud...@mac.com> wrote: >> One thing that did change between 1.1 and 1.2 is agent error handling. >> The 1.2 changes doc (http://github.com/clojure/clojure/blob/1.2.x/ >> hanges.txt) shows several new agent error handling functions, a couple >> of deprecated ones, an improved 'await docstring -- which now says: >> >> "Blocks the current thread (indefinitely!) until all actions >> dispatched thus far, from this thread or agent, to the agent(s) have >> occurred. Will block on failed agents. Will never return if >> a failed agent is restarted with :clear-actions true." >> >> So I'm surmising that you have a failed agent, and because of the 1.2 >> changes you're not getting the same kind of error indication you were >> apparently expecting.
Interesting idea, but I don't get any error indications in 1.1 -- it just runs without error. I've seen agent failure messages in other circumstances, but not here. (Incidentally it seems odd to me that such messages would be eliminated -- I've always wanted much more info when such things occurred, not less.) I've just done a couple of runs verifying that this happens when using the exact same code in 1.1 and 1.2. (Previously the code I was running under the different versions varied slightly, but now I'm using exactly the same code.) In 1.1 it runs and keeps running without any errors or messages or hangs. It just runs fine, with no sign of any trouble. In 1.2 it runs for a while and then hangs in the way that I described previously. Limiting integer size seems to keep it from hanging under 1.2. FWIW I also tried a 1.2.0-master-SNAPSHOT from early August (at least the date on my copy is Aug 7, but maybe that was the download date) and that also hung. -Lee -- Lee Spector, Professor of Computer Science School of Cognitive Science, Hampshire College 893 West Street, Amherst, MA 01002-3359 lspec...@hampshire.edu, http://hampshire.edu/lspector/ Phone: 413-559-5352, Fax: 413-559-5438 Check out Genetic Programming and Evolvable Machines: http://www.springer.com/10710 - http://gpemjournal.blogspot.com/ -- 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