> I must be a bloomin' idiot. What is the parameter to pass to sysconf()
> for number of CPUs? I read the sysconf man page and didn't find anything
> that looked correct.
this is exactly the sort of case where man pages are _not_
what you should be reading. you already know the prototype, so:
find /usr/include -print | xargs grep "#define _SC_"
_SC_NPROCESSORS_ONLN sounds like what you want.
use the source...
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]