[ruby-cvs:57580] normal:r50432 (trunk): stdlib: use IO#wait_*able instead of IO.select when possible

normal at ruby-lang.org normal at ruby-lang.org
Thu May 7 05:30:45 JST 2015


normal	2015-05-07 05:30:43 +0900 (Thu, 07 May 2015)

  New Revision: 50432

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50432

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/lib/socket.rb
    trunk/lib/drb/drb.rb
    trunk/lib/resolv.rb
    trunk/lib/webrick/httpserver.rb


More information about the ruby-cvs mailing list