Closed nt3dnt closed 1 year ago
lwan.c static void get_number_of_cpus(struct lwan *l) { long n_online_cpus = sysconf(_SC_NPROCESSORS_ONLN); long n_available_cpus = sysconf(_SC_NPROCESSORS_CONF);
//*****/ https://man7.org/linux/man-pages/man3/sysconf.3.html
//*****/ long n_online_cpus = sysconf(_SC_NPROCESSORS_ONLN); long n_available_cpus = sysconf(_SC_NPROCESSORS_ONLN);
What is the issue with this function?
Closing as the issue doesn't provide any context. Feel free to reopen.
lwan.c static void get_number_of_cpus(struct lwan *l) { long n_online_cpus = sysconf(_SC_NPROCESSORS_ONLN); long n_available_cpus = sysconf(_SC_NPROCESSORS_CONF);
//*****/ https://man7.org/linux/man-pages/man3/sysconf.3.html
//*****/ long n_online_cpus = sysconf(_SC_NPROCESSORS_ONLN); long n_available_cpus = sysconf(_SC_NPROCESSORS_ONLN);