Mercurial > hg > nginx-quic
comparison src/http/ngx_http.c @ 4459:ccb2f8e3d08d
Added ngx_ncpu detection for most *nix platforms.
This inaccurate detection by using sysconf(_SC_NPROCESSORS_ONLN) can improve
usage of the mutex lock optimization on multicore systems.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Fri, 10 Feb 2012 11:24:19 +0000 |
parents | d620f497c50f |
children | 67653855682e |
comparison
equal
deleted
inserted
replaced
4458:2d4ff8bd5649 | 4459:ccb2f8e3d08d |
---|