From: Georgi Gerganov Date: Tue, 18 Oct 2022 15:27:57 +0000 (+0300) Subject: close #32 : add comment about thread-safety of the C-style API X-Git-Tag: upstream/1.7.4~1944 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=2d171ced322165f41dd38ef2e9054d7dcdc25c65;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp close #32 : add comment about thread-safety of the C-style API --- diff --git a/whisper.h b/whisper.h index cf97e235..45faa5b2 100644 --- 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: //