From 2d171ced322165f41dd38ef2e9054d7dcdc25c65 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Tue, 18 Oct 2022 18:27:57 +0300 Subject: [PATCH] close #32 : add comment about thread-safety of the C-style API --- whisper.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: //