aboutsummaryrefslogtreecommitdiff
path: root/src/lib/thread/numcpus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/thread/numcpus.h')
-rw-r--r--src/lib/thread/numcpus.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/thread/numcpus.h b/src/lib/thread/numcpus.h
new file mode 100644
index 0000000000..2899a9ec8a
--- /dev/null
+++ b/src/lib/thread/numcpus.h
@@ -0,0 +1,11 @@
+/* Copyright (c) 2003-2004, Roger Dingledine
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2018, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+#ifndef TOR_NUMCPUS_H
+#define TOR_NUMCPUS_H
+
+int compute_num_cpus(void);
+
+#endif