https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112011-08-25T09:00:33ZRuby Issue Tracking SystemRuby master - Bug #5229: [PATCH] thread.c (rb_thread_select): implement using rb_thread_fd_selecthttps://bugs.ruby-lang.org/issues/5229?journal_id=204062011-08-25T09:00:33Zko1 (Koichi Sasada)
<ul><li><strong>Assignee</strong> set to <i>kosaki (Motohiro KOSAKI)</i></li></ul> Ruby master - Bug #5229: [PATCH] thread.c (rb_thread_select): implement using rb_thread_fd_selecthttps://bugs.ruby-lang.org/issues/5229?journal_id=204862011-08-30T09:33:06Zkosaki (Motohiro KOSAKI)kosaki.motohiro@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r33117.<br>
Eric, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>
<p>thread.c (rb_thread_select): rewrite by using<br>
rb_thread_fd_select(). old one is EINTR unsafe.<br>
Patch by Eric Wong. [Bug <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Bug: [PATCH] thread.c (rb_thread_select): implement using rb_thread_fd_select (Closed)" href="https://bugs.ruby-lang.org/issues/5229">#5229</a>] <a href="/issues/5229">[ruby-core:39102]</a></p>
</li>
<li>
<p>test/-ext-/old_thread_select/test_old_thread_select.rb:<br>
a testcase for rb_thread_select().</p>
</li>
<li>
<p>ext/-test-/old_thread_select/old_thread_select.c: ditto.</p>
</li>
<li>
<p>ext/-test-/old_thread_select/depend: ditto.</p>
</li>
<li>
<p>ext/-test-/old_thread_select/extconf.rb: ditto.</p>
</li>
</ul>