lpereira / lwan

Experimental, scalable, high performance HTTP server
https://lwan.ws
GNU General Public License v2.0
5.92k stars 549 forks source link

get_number_of_cpus #355

Closed nt3dnt closed 1 year ago

nt3dnt commented 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);

lpereira commented 1 year ago

What is the issue with this function?

lpereira commented 1 year ago

Closing as the issue doesn't provide any context. Feel free to reopen.