diff options
Diffstat (limited to 'ractor_core.h')
-rw-r--r-- | ractor_core.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ractor_core.h b/ractor_core.h index b0295155ac..9f87f15e55 100644 --- a/ractor_core.h +++ b/ractor_core.h @@ -176,12 +176,10 @@ void rb_ractor_local_storage_delkey(rb_ractor_local_key_t key); RUBY_SYMBOL_EXPORT_END -RUBY_EXTERN bool ruby_multi_ractor; - static inline bool rb_ractor_main_p(void) { - if (!ruby_multi_ractor) { + if (ruby_single_main_ractor) { return true; } else { |