On Feb 9, 2:37 am, 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.
In .NET, on the other hand, this value is stored in
System.Environment.ProcessorCount. Perhaps it would be worthwhile to
Hi,
On Feb 9, 9:29 pm, Chouser chou...@gmail.com wrote:
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
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
I'm wondering if there's anyway in Clojure, that one can detect the
number of available processoring threads (ie. 4 core cpu with
hyperthreading would equal 8 available threads). This will allow me to
have a scalable processing app which can run on a single core CPU, or
250 core processor, without
On 9 February 2010 11:29, Wardrop t...@tomwardrop.com wrote:
I'm wondering if there's anyway in Clojure, that one can detect the
number of available processoring threads
(.availableProcessors (Runtime/getRuntime)) might be what you are after?
--
You received this message because you are
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.
Thanks
On Feb 9, 11:33 am, Timothy Pratley timothyprat...@gmail.com wrote: