2014-04-12 17:19 GMT+02:00 Gary Trakhman <gary.trakh...@gmail.com>: > I'd recommend running a doall on concurrent-list in order to realize the > futures, if you simply deref as you are, then you're going to delay the > execution of futures down the line as the sequence is realized bit by bit > (except chunking helps you here by accident). You are effectively > preventing later parts from getting realized until the earlier futures > return. >
I want the threads to be finished when I do the deinit, that does not happen when I use the doall. But of course, there's likely a better approach, we'd need to know what > you're trying to do to address it. > I just started playing with Clojure a few days ago, so I am a tabula rasa. I attached what I have until now. If it can be improved, I like to know it. -- Cecil Westerhof -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
check-power.clj
Description: Binary data