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?


On 18 July 2013 15:06, Carlos O'Donell <carlos@redhat.com> wrote:
> I think we need _SC_NPROCESSORS_MAX_NP, otherwise users have no useful
> way to determine the maximum number of possible cpus.

It might make sense to propose this for standardization along with the
two _SC_NPROCESSORS_* options:

http://austingroupbugs.net/view.php?id=339

Siddhesh
--
http://siddhesh.in


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