On Mar 1, 10:58 pm, Rich Hickey <[email protected]> wrote:
> On Mar 1, 2009, at 1:53 PM, Anand Patil wrote:
> I've made futures use the Agents' CachedThreadPool, which should  
> prevent the thread pool exhaustion (svn 1316). You shouldn't worry  
> about the expense of the threads, that's why there's a pool.
>
> Yield as you've described it is definitely not going to happen.

Rich,

If you'll bear with me a bit longer- what if I set breadth=1000 and
depth=1000 in the program above. The thread pool would have to grow by
thousands to avoid a deadlock, whereas with something like yield it
could stay alive using only the standard, fixed-size thread pool.

Anand

Anand
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to