This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: What *is* the API for sched_getaffinity? Should sched_getaffinity always succeed when using cpu_set_t?


> I can fix the glibc manual. A 'configured' CPU is one that the OS
> can bring online.

Where do you get this definition, in the absence of a standard that
specifies _SC_NPROCESSORS_CONF?  The only definition I've ever known for
_SC_NPROCESSORS_CONF is a value that's constant for at least the life of
the process (and probably until reboot) that is the upper bound for what
_SC_NPROCESSORS_ONLN might ever report.  If the implementation for Linux is
inconsistent with that definition, then it's just a bug in the implementation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]