diff options
author | François Revol <revol@free.fr> | 2013-12-27 02:43:01 +0100 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-29 09:51:03 +0000 |
commit | ab2f5ccb4bf4670f9e943ae739a9afcafca9b108 (patch) | |
tree | 5243c2a9666f27e549222a07c489fd7dac66f373 /utils/container.h | |
parent | 7cb0619fe8c39d189dbcfa4ecbd0db573ff250e6 (diff) | |
download | netsurf-ab2f5ccb4bf4670f9e943ae739a9afcafca9b108.tar.gz netsurf-ab2f5ccb4bf4670f9e943ae739a9afcafca9b108.tar.bz2 |
env.sh: Use a more portable way of counting online processors
getconf _NPROCESSORS_ONLN should be available on Linux, FreeBSD
and OSX at least:
http://linux.die.net/man/1/getconf
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/getconf.1.html
getconf NPROCESSORS_ONLN is BSD variant which Haiku provides.
One might want to handle Solaris too some day...
cf. https://gist.github.com/jj1bdx/5746298
Diffstat (limited to 'utils/container.h')
0 files changed, 0 insertions, 0 deletions