(future ...) enqueues tasks onto a thread pool.

On Dec 17, 10:47 am, "nicolas.o...@gmail.com" <nicolas.o...@gmail.com>
wrote:
> > How about futures? They are in clojure.core and can be used for much the 
> > same purposes as Fork/Join, unless your individual tasks are so small that 
> > the performance advantage of Fork/Join makes a difference.
>
> Thank you for this suggestion. I thought a bit, and I wonder whether
> it can result in too many thread being forked or thread starvation
> deadlock in my situation.
>
> Does future fork a thread per task?

-- 
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

Reply via email to