[ruby-cvs:64368] nobu:r57202 (trunk): thread.c: fix race between read and close

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 27 16:10:11 JST 2016


nobu	2016-12-27 16:10:11 +0900 (Tue, 27 Dec 2016)

  New Revision: 57202

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

  Log:
    thread.c: fix race between read and close
    
    * thread.c (rb_thread_fd_close): wait until all threads using the
      fd finish the operation, not to free the buffer in use.
      [ruby-core:78845] [Bug #13076]

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list