mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-28 21:41:08 +00:00
903bc7dcc2
Both the sysfs and procfs parsing (through GET_NPROCS_PARSER) are removed in favor the syscall. The initial scratch buffer should fit to most of the common usage (1024 bytes with maps to 8192 CPUs). Checked on x86_64-linux-gnu and aarch64-linux-gnu.
10 lines
214 B
C
10 lines
214 B
C
#ifndef _BITS_CPU_SET_H
|
|
#include <posix/bits/cpu-set.h>
|
|
|
|
#ifndef _ISOMAC
|
|
int __sched_cpucount (size_t __setsize, const cpu_set_t *__setp);
|
|
libc_hidden_proto (__sched_cpucount)
|
|
#endif
|
|
|
|
#endif /* _BITS_CPU_SET_H */
|