Make is_without_gvl thread local

This commit is contained in:
Kitaiti Makoto 2026-04-26 22:20:44 +09:00
parent 35eda01cb4
commit a841074284
1 changed files with 1 additions and 1 deletions

View File

@ -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);