[ruby-cvs:64390] nobu:r57224 (trunk): io.c: fix race between read and close

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 27 20:43:34 JST 2016


nobu	2016-12-27 20:43:34 +0900 (Tue, 27 Dec 2016)

  New Revision: 57224

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

  Log:
    io.c: fix race between read and close
    
    * io.c (io_fillbuf): fix race between read and close and bail out
      in the case the IO gets closed before the reading thread achieve
      the lock.  [ruby-core:78845] [Bug #13076]

  Modified files:
    trunk/io.c


More information about the ruby-cvs mailing list