diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 06:08:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-12 06:08:39 +0000 |
commit | 1baa57b00331e5bedd6253dbf4dadc490a480f81 (patch) | |
tree | 4a029ca42865a528db25076f23f7711da30a7bde /enc | |
parent | a4f7274423dcf7a7ce5a727e69c18fc2e83d40cc (diff) | |
download | ruby-1baa57b00331e5bedd6253dbf4dadc490a480f81.tar.gz |
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
Diffstat (limited to 'enc')
0 files changed, 0 insertions, 0 deletions