[ruby-cvs:70832] normal:r63741 (trunk): process.c (ruby_fork_ruby): fix race in signal handling

normal at ruby-lang.org normal at ruby-lang.org
Sun Jun 24 21:36:44 JST 2018


normal	2018-06-24 21:36:44 +0900 (Sun, 24 Jun 2018)

  New Revision: 63741

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

  Log:
    process.c (ruby_fork_ruby): fix race in signal handling
    
    We must block signals before stopping timer-thread, otherwise
    signal handing may be delayed until (and if) another signal
    is received after timer-thread is restarted.
    
    [ruby-core:87622] [Bug #14868] [Bug #13916]

  Modified files:
    trunk/process.c


More information about the ruby-cvs mailing list