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.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/thread/numcpus.h b/src/lib/thread/numcpus.h
new file mode 100644
index 0000000000..3f0a29ce7c
--- /dev/null
+++ b/src/lib/thread/numcpus.h
@@ -0,0 +1,16 @@
+/* Copyright (c) 2003-2004, Roger Dingledine
+ * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
+ * Copyright (c) 2007-2019, The Tor Project, Inc. */
+/* See LICENSE for licensing information */
+
+/**
+ * \file numcpus.h
+ * \brief Header for numcpus.c
+ **/
+
+#ifndef TOR_NUMCPUS_H
+#define TOR_NUMCPUS_H
+
+int compute_num_cpus(void);
+
+#endif