Project

General

Profile

« Previous | Next » 

Revision 1baa57b0

Added by nobu (Nobuyoshi Nakada) about 9 years ago

wait.c: poll over nread

  • ext/io/wait/wait.c (io_ready_p, io_wait_readable): try polling
    first and check FIONREAD optionally to see if EOF.
    [ruby-core:36805] [Feature #4849]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e