mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
There were two issues: 1. When an IO object is waiting for writablility only (as in test_tcp_accept) the selected hash is empty. Therefore selected[fiber] returns nil but needs to default to 0 in order to be or'ed with IO::WRITABLE. 2. When an IO object is waiting for read- or writability (as in test_tcp_connect), but only one of these two events arrive, the Fiber and IO object need to be removed from the other `@readable` or `@writable` list. |
||
|---|---|---|
| .. | ||
| http.rb | ||
| scheduler.rb | ||
| test_address_resolve.rb | ||
| test_backtrace.rb | ||
| test_enumerator.rb | ||
| test_io.rb | ||
| test_mutex.rb | ||
| test_process.rb | ||
| test_ractor.rb | ||
| test_scheduler.rb | ||
| test_sleep.rb | ||
| test_thread.rb | ||
| test_timeout.rb | ||