On Monday 22 June 2009 22:33:24 Stephen C. Gilardi wrote: > On Jun 22, 2009, at 5:53 PM, Jon Harrop wrote: > > If that is spawning a new thread every time a future is created then > > it is > > really for concurrent programming rather than parallel programming. > > The thread is from a cached thread pool provided by the Executors class: > > http://java.sun.com/javase/6/docs/api/java/util/concurrent/Executors.html#n >ewCachedThreadPool%28%29
Ok, that will be reliable then but performance is quite a bit worse than it could be. Essentially the same as pre-TPL .NET, e.g. using asynchronous workflows in F# today. The migration occurs officially on the MS side with the release of .NET 4 next year. Is there a similar plan on the JVM side? -- Dr Jon Harrop, Flying Frog Consultancy Ltd. http://www.ffconsultancy.com/?e --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---