https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-03-25T16:12:37ZRuby Issue Tracking SystemRuby master - Feature #4849: io/wait should have a way to avoid FIONREADhttps://bugs.ruby-lang.org/issues/4849?journal_id=251332012-03-25T16:12:37Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>nobu (Nobuyoshi Nakada)</i></li></ul> Ruby master - Feature #4849: io/wait should have a way to avoid FIONREADhttps://bugs.ruby-lang.org/issues/4849?journal_id=337712012-11-24T13:01:32Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Target version</strong> changed from <i>2.0.0</i> to <i>2.6</i></li></ul> Ruby master - Feature #4849: io/wait should have a way to avoid FIONREADhttps://bugs.ruby-lang.org/issues/4849?journal_id=521182015-04-12T06:09:01Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r50262.</p>
<hr>
<p>wait.c: poll over nread</p>
<ul>
<li>ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling<br>
first and check FIONREAD optionally to see if EOF.<br>
<a href="/issues/4849">[ruby-core:36805]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: io/wait should have a way to avoid FIONREAD (Closed)" href="https://bugs.ruby-lang.org/issues/4849">#4849</a>]</li>
</ul>