commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <>
Subject commons.lang addition
Date Mon, 24 Jun 2002 14:00:37 GMT
I have some code to programmatically detect platform specific
such as how many CPUs are available on a machine.  This beats forcing
admin to enter the information.  The code is modular, allowing for new
platforms to be added at any time.

I use it to determine how many threads I should have in a ThreadPool.  I
make it a multiple of the number of processors.  Granted, for some
systems, they only support one processor (like Win 9x/ME).  If there is
no adapter for a system, then it assumes there is only one processor.

Does this sound like something we want to support in Commons Lang?

"They that give up essential liberty to obtain a little temporary safety
 deserve neither liberty nor safety."
                - Benjamin Franklin

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message