]> git.ipfire.org Git - thirdparty/tor.git/commit
Autodetect the number of CPUs when possible if NumCPUs==0
authorNick Mathewson <nickm@torproject.org>
Tue, 28 Sep 2010 18:36:28 +0000 (14:36 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 28 Sep 2010 18:42:21 +0000 (14:42 -0400)
commit73d93c033d3f4b9c95e8f3a5cc7e4a255d523b84
tree4a6ef543d04d0153134d973977b0e5bfce80425d
parentc612ddee17c2f6e70fde9f0bdd7116516f384ae8
Autodetect the number of CPUs when possible if NumCPUs==0

This is needed for IOCP, since telling the IOCP backend about all
your CPUs is a good idea.  It'll also come in handy with asn's
multithreaded crypto stuff, and for people who run servers without
reading the manual.
changes/cpudetect [new file with mode: 0644]
configure.in
doc/tor.1.txt
src/common/compat.c
src/common/compat.h
src/or/config.c
src/or/config.h
src/or/cpuworker.c