> Sorry yes, via a system call. I had thought of
> fopen("/proc/cpuinfo") | !strcmp("processor", blah) | wc
> but i was looking for something more Posix/gnu-centric
> like getnumprocessors()
glibc 2.1 at least supports the sysconf() request for this
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]
- Programming questions (user space) Dick Balaska
- Re: Programming questions (user space) Robert G. Brown
- Re: Programming questions (user space) Dick Balaska
- Re: Programming questions (user space) Borries Demeler
- Re: Programming questions (user space) Rui Sousa
