]> sourceware.org Git - glibc.git/commit
misc: Add __get_nprocs_sched
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 Sep 2021 15:22:54 +0000 (12:22 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 27 Sep 2021 12:13:06 +0000 (09:13 -0300)
commit11a02b035b464ab6813676adfd19c4a59c36d907
treeaadaa54c5ca5608981c8a2482ec184d022a0730a
parent514638699d4b76826096a5f47136dc58f7619944
misc: Add __get_nprocs_sched

This is an internal function meant to return the number of avaliable
processor where the process can scheduled, different than the
__get_nprocs which returns a the system available online CPU.

The Linux implementation currently only calls __get_nprocs(), which
in tuns calls sched_getaffinity.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
include/sys/sysinfo.h
malloc/arena.c
misc/getsysstats.c
sysdeps/mach/getsysstats.c
sysdeps/unix/sysv/linux/getsysstats.c
This page took 0.042871 seconds and 5 git commands to generate.