diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-06 20:30:43 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-06 20:30:43 +0000 |
commit | 84b012e02a567f79dc3061cd860be982f95be048 (patch) | |
tree | 78dc35d87193481c49ff2c0ec1c2dd30639867be /lib/drb.rb | |
parent | 8e08552ed01e827b4e3ca3e0d57695a8737cb394 (diff) | |
download | ruby-84b012e02a567f79dc3061cd860be982f95be048.tar.gz |
stdlib: use IO#wait_*able instead of IO.select when possible
In case a process encounters high-numbered FDs, this allows
consistent performance on systems with ppoll support.
[ruby-core:35572]
* ext/socket/lib/socket.rb (connect_nonblock): use IO#wait_writable
* lib/drb/drb.rb (DRB::DRbTCPSocket#alive?): use IO#wait_readable
* lib/webrick/httpserver.rb (run): ditto
* lib/resolv.rb (request): ditto for single socket case
[ruby-core:68943] [Feature #11081]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/drb.rb')
0 files changed, 0 insertions, 0 deletions