]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
close #32 : add comment about thread-safety of the C-style API
authorGeorgi Gerganov <redacted>
Tue, 18 Oct 2022 15:27:57 +0000 (18:27 +0300)
committerGeorgi Gerganov <redacted>
Tue, 18 Oct 2022 15:27:57 +0000 (18:27 +0300)
whisper.h

index cf97e2356271d4d6476a48ea28e86ad066cc0427..45faa5b2f220a2d662ff643f38f4afd53e97f546 100644 (file)
--- a/whisper.h
+++ b/whisper.h
@@ -31,7 +31,8 @@ extern "C" {
     //
     // C interface
     //
-
+    // The following interface is thread-safe as long as the sample whisper_context is not used by multiple threads
+    // concurrently.
     //
     // Basic usage:
     //