From a841074284135584c7af53669e90cba3b112977a Mon Sep 17 00:00:00 2001 From: Kitaiti Makoto Date: Sun, 26 Apr 2026 22:20:44 +0900 Subject: [PATCH] Make is_without_gvl thread local --- bindings/ruby/ext/ruby_whisper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/ruby/ext/ruby_whisper.c b/bindings/ruby/ext/ruby_whisper.c index 7478d790..acced19d 100644 --- a/bindings/ruby/ext/ruby_whisper.c +++ b/bindings/ruby/ext/ruby_whisper.c @@ -30,7 +30,7 @@ ID id_n_processors; static bool is_log_callback_finalized = false; static bool is_ruby_log_callback_present = false; -static bool is_without_gvl = false; +static _Thread_local bool is_without_gvl = false; // High level API extern VALUE ruby_whisper_segment_allocate(VALUE klass);