[ruby-cvs:70880] normal:r63789 (trunk): process.c (waitpid_nogvl): check interrupts before sleeping

normal at ruby-lang.org normal at ruby-lang.org
Fri Jun 29 16:52:24 JST 2018


normal	2018-06-29 16:52:24 +0900 (Fri, 29 Jun 2018)

  New Revision: 63789

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

  Log:
    process.c (waitpid_nogvl): check interrupts before sleeping
    
    We may be interrupted by another thread after setting ubf,
    but before we re-acquire interrupt_lock again to sleep on
    w->cond.
    
    This should fix test_wait_interrupt in test/ruby/test_process.rb

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list