Hi Sukender,

Maybe this can help :

http://lists.gnu.org/archive/html/autoconf/2002-08/msg00126.html

otherwise, for windows systems, there is an environment variable that
contains this information NUMBER_OF_PROCESSORS.

Mourad


On Tue, Jan 12, 2010 at 4:26 PM, Sukender <[email protected]> wrote:

> Hi all,
>
> Is there a way to easilly detect the number of CPU/cores available in a
> cross-platform way? Do you know a piece of code or lib that does it?
> Thanks.
>
> Sukender
> PVLE - Lightweight cross-platform game engine -
> http://pvle.sourceforge.net/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to