[ruby-core:120251] [Ruby master Bug#20954] Ractor.main? returns 0 on the main ractor

Issue #20954 has been reported by zverok (Victor Shepelev). ---------------------------------------- Bug #20954: Ractor.main? returns 0 on the main ractor https://bugs.ruby-lang.org/issues/20954 * Author: zverok (Victor Shepelev) * Status: Open * ruby -v: 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux] * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED ---------------------------------------- Very minor (as the value is still truthy) but slightly confusing. ```ruby Ractor.main? #=> 0 ``` ``` $ ruby -v ruby 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux] ``` -- https://bugs.ruby-lang.org/

Issue #20954 has been updated by byroot (Jean Boussier). https://github.com/ruby/ruby/pull/12352 ---------------------------------------- Bug #20954: Ractor.main? returns 0 on the main ractor https://bugs.ruby-lang.org/issues/20954#change-111022 * Author: zverok (Victor Shepelev) * Status: Open * ruby -v: 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux] * Backport: 3.1: DONTNEED, 3.2: DONTNEED, 3.3: DONTNEED ---------------------------------------- Very minor (as the value is still truthy) but slightly confusing. ```ruby Ractor.main? #=> 0 ``` ``` $ ruby -v ruby 3.4.0dev (2024-12-15T13:36:38Z master 366fd9642f) +PRISM [x86_64-linux] ``` -- https://bugs.ruby-lang.org/
participants (2)
-
byroot (Jean Boussier)
-
zverok (Victor Shepelev)