Hey, I want to retrieve the number of active processors. I have found that using sysconf(_SC_NPROCESSORS_ONLN) could do the trick, but i have read somewhere ( http://forum.soft32.com/linux2/CPUs-machine-ftopict13343.html) that it might not return the correct number of processors.
My question is, on Solaris, is it safe to use sysconf() ? Or is there a better solution ? thank you Vincent Torri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/tools-compilers/attachments/20090805/bc0a7a3b/attachment.html>