Issue #17368 has been reported by marcandre (Marc-Andre Lafortune).

----------------------------------------
Bug #17368: `Ractor.select()` loops forever
https://bugs.ruby-lang.org/issues/17368

* Author: marcandre (Marc-Andre Lafortune)
* Status: Open
* Priority: Normal
* Assignee: ko1 (Koichi Sasada)
* ruby -v: ruby 3.0.0dev (2020-11-30T10:06:25Z master 89774a938a) [x86_64-darwin18]
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
I propose it raises an error in https://github.com/ruby/ruby/pull/3848

```ruby
Ractor.select # => loops

# after
Ractor.select # => ArgumentError, "specify at least one ractor or `yield_value`"
```



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>