https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-02-12T14:47:06ZRuby Issue Tracking SystemRuby master - Bug #4390: TCPSocket#readline doesn't raise if the socket is #close'd in another threadhttps://redmine.ruby-lang.org/issues/4390?journal_id=157952011-02-12T14:47:06Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<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>=begin<br>
This issue was solved with changeset r30852.<br>
Alex, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>thread.c (rb_thread_io_blocking_region): new function to run<br>
blocking region with GIL released, for fd.</li>
<li>thread.c (rb_thread_fd_close): implement. <a href="/issues/4390">[ruby-core:35203]</a><br>
=end</li>
</ul>