aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2012-02-10 11:24:19 +0000
committerValentin Bartenev <vbart@nginx.com>2012-02-10 11:24:19 +0000
commit891b43db32ad7b21bc9e37f42751cb6fc85a3a73 (patch)
treeb4b0c8a7353d8b727a7e50820b320432b6a26aca /src/http/ngx_http_request.c
parent9e8708cbd6da2ba2a2bdbc93c666aeee2dfefddc (diff)
downloadnginx-891b43db32ad7b21bc9e37f42751cb6fc85a3a73.tar.gz
nginx-891b43db32ad7b21bc9e37f42751cb6fc85a3a73.zip
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.
Diffstat (limited to 'src/http/ngx_http_request.c')
0 files changed, 0 insertions, 0 deletions