aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-28 14:42:52 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-28 14:42:52 -0400
commit3efaa30727f23f316941b6ac861a7027f8204769 (patch)
treed671760bb22f7010a2c2695f0a2891fc7393a9c2 /src/common/compat.h
parentc58b7a109559a609f642d1fb7eb2e55b0d566ba5 (diff)
parent73d93c033d3f4b9c95e8f3a5cc7e4a255d523b84 (diff)
downloadtor-3efaa30727f23f316941b6ac861a7027f8204769.tar
tor-3efaa30727f23f316941b6ac861a7027f8204769.tar.gz
Merge branch 'iocp_option'
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 7d59501e2..5b6cfc40b 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -522,6 +522,8 @@ void spawn_exit(void) ATTR_NORETURN;
#undef TOR_IS_MULTITHREADED
#endif
+int compute_num_cpus(void);
+
/* Because we use threads instead of processes on most platforms (Windows,
* Linux, etc), we need locking for them. On platforms with poor thread
* support or broken gethostbyname_r, these functions are no-ops. */