[ruby-cvs:73039] normal:r65939 (trunk): io.c (io_fd_check_closed): prioritize cross-thread "stream closed"

normal at ruby-lang.org normal at ruby-lang.org
Sat Nov 24 06:38:41 JST 2018


normal	2018-11-24 06:38:41 +0900 (Sat, 24 Nov 2018)

  New Revision: 65939

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

  Log:
    io.c (io_fd_check_closed): prioritize cross-thread "stream closed"
    
    This may fix failures from TestIO#test_recycled_fd_close because
    interrupts may be missed due to TOCTOU in other places.
    
    cf. http://ci.rvm.jp/results/trunk-nopara@silicon-docker/1475034

  Modified files:
    trunk/io.c


More information about the ruby-cvs mailing list