Project

General

Profile

« Previous | Next » 

Revision 08ca33e9

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, 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@57199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e