Skip to content
Commit 11a02b03 authored by Adhemerval Zanella's avatar Adhemerval Zanella
Browse files

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: default avatarFlorian Weimer <fweimer@redhat.com>
parent 51463869
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment