On Mon, Feb 8, 2010 at 8:37 PM, Wardrop <t...@tomwardrop.com> wrote:
> That seems like what I'm after, thanks. I assume this would be pretty
> reliable across all platforms running the JVM.
>
> By the way, I did google the Java API with various keywords but never
> cam across this object property.

It may be worth noting that using 'send' to dispatch actions to
an agent already takes into account the number of CPUs available.
This essentially means it's safe to queue up sends on as many
agents as you want -- hundreds, even thousands of agents --
regardless of how many CPUs are on your current host.

The same is *not* true of 'send-off' or 'future', which do not
have bounds on their thread pool.

--Chouser
http://joyofclojure.com/

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