]> git.kaiwu.me - nginx.git/commit
Merge of r4460: ngx_ncpu detection for most *nix platforms.
authorMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Mar 2012 12:10:09 +0000 (12:10 +0000)
committerMaxim Dounin <mdounin@mdounin.ru>
Mon, 5 Mar 2012 12:10:09 +0000 (12:10 +0000)
commit9ec45d5f6fde95be4a19669d631044cfe7b52cb6
tree20ea7e72b5192fce5e1544f8fe9ab55cdc6cf832
parent658587e7d250381a95f32f45390fa880b00a4f5e
Merge of r4460: 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.
auto/unix
src/os/unix/ngx_posix_init.c