From: Eric Wong Date: 2011-03-30T03:24:20+09:00 Subject: [ruby-core:35587] Re: [Ruby 1.9 - Feature #4531][Open] [PATCH 0/7] use poll() instead of select() in certain cases Eric Wong wrote: > On a related note: > > Ruby also still needlessly checks for read/writability with select()[2] > even though though we have support for blocking regions. I think > that is safe to remove if we check return values with > rb_io_wait_{read,writ}able(). One part of > http://redmine.ruby-lang.org/issues/4535 does exactly this but I have > another patch to kill more unnecessary select() calls that aren't > bugs, just extra code/syscalls. Just opened this one: http://redmine.ruby-lang.org/issues/4538 -- Eric Wong