Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • how would you avoid waiting for all the futures to finish? Commented Aug 19, 2013 at 13:57
  • Yes, futures were what I was considering but I can't see a way of not blocking unnecessarily. Suppose expr1 takes 10s to evaluate, expr2 1s to evaluate and expr3 100s. How do I know that I should call deref/@ on expr2 given that in general I have no a priori information on the likely evaluation times; otherwise I could just evaluate expr2 in thread and be done with it ;) Commented Aug 19, 2013 at 14:00
  • @SeanHoldsworth By using (realized?) maybe? Commented Aug 19, 2013 at 14:04
  • @Chiron wouldn't that imply some form of busy waiting? Commented Aug 19, 2013 at 14:28