Spaces:
Running on Zero
Running on Zero
Download backend/llama.cpp/ggml/src/ggml-threading.cpp from kazutab/mindmap-studio: direct link, hf CLI and curl.
- Browser
- Download file 250 Bytes
-
https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/ggml/src/ggml-threading.cpp
- Command line
-
hf download hf://spaces/kazutab/mindmap-studio/backend/llama.cpp/ggml/src/ggml-threading.cpp
-
curl -L -o ggml-threading.cpp https://huggingface.co/spaces/kazutab/mindmap-studio/resolve/main/backend/llama.cpp/ggml/src/ggml-threading.cpp
250 Bytes
| std::mutex ggml_critical_section_mutex; | |
| void ggml_critical_section_start() { | |
| ggml_critical_section_mutex.lock(); | |
| } | |
| void ggml_critical_section_end(void) { | |
| ggml_critical_section_mutex.unlock(); | |
| } | |