Project

General

Profile

« Previous | Next » 

Revision 09ae127b

Added by nobu (Nobuyoshi Nakada) over 7 years ago

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]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e