[ruby-cvs:73048] normal:r65948 (trunk): io.c: wait on FD readability w/o GVL reacquisition

normal at ruby-lang.org normal at ruby-lang.org
Sat Nov 24 17:23:27 JST 2018


normal	2018-11-24 17:23:26 +0900 (Sat, 24 Nov 2018)

  New Revision: 65948

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

  Log:
    io.c: wait on FD readability w/o GVL reacquisition
    
    Since non-blocking I/O is the default after [Bug #14968],
    we will hit it more often and cause more acquisition/release
    of GVL to wait on single FD.
    
    This also lets us avoid touching the temporal string locking
    as much and lets us clean up some test changes made for
    [Bug #14968]

  Modified files:
    trunk/io.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list