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

Siddhesh Poyarekar siddhesh.poyarekar@gmail.com
Sun Jul 21 11:35:00 GMT 2013


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



More information about the Libc-alpha mailing list