summaryrefslogtreecommitdiff
path: root/llama.cpp/ggml/src/ggml-threading.h
diff options
context:
space:
mode:
Diffstat (limited to 'llama.cpp/ggml/src/ggml-threading.h')
-rw-r--r--llama.cpp/ggml/src/ggml-threading.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/llama.cpp/ggml/src/ggml-threading.h b/llama.cpp/ggml/src/ggml-threading.h
new file mode 100644
index 0000000..dec2c88
--- /dev/null
+++ b/llama.cpp/ggml/src/ggml-threading.h
@@ -0,0 +1,14 @@
+#pragma once
+
+#include "ggml.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+GGML_API void ggml_critical_section_start(void);
+GGML_API void ggml_critical_section_end(void);
+
+#ifdef __cplusplus
+}
+#endif