aboutsummaryrefslogtreecommitdiff
path: root/src/threading/cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/threading/cpu.h')
-rw-r--r--src/threading/cpu.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/threading/cpu.h b/src/threading/cpu.h
new file mode 100644
index 0000000..98fc1d7
--- /dev/null
+++ b/src/threading/cpu.h
@@ -0,0 +1,14 @@
+#ifndef CPU_H
+#define CPU_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int get_core_count();
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file