From: "byroot (Jean Boussier) via ruby-core" <ruby-core@...>
Date: 2024-12-15T23:33:53+00:00
Subject: [ruby-core:120256] [Ruby master Bug#20954] Ractor.main? returns 0 on the main ractor

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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/