This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Andreas Jaeger wrote: > OK, then just one more question: What is the difference between these > two: > > /* Return number of configured processors. */ > extern int get_nprocs_conf (void) __THROW; > > /* Return number of available processors. */ > extern int get_nprocs (void) __THROW; The number of processors the OS knows or knew about need not be the same as the number which is currently in use by any process. This is all from long before there was affinity. Processors can be disabled (think hotplug). The SPARC kernel always had the distinction, x86 and may others don't. -- â Ulrich Drepper â Red Hat, Inc. â 444 Castro St â Mountain View, CA â
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |