[ruby-cvs:70970] normal:r63879 (trunk): signal.c: preserve trap(:CHLD, "IGNORE") behavior with SIGCHLD

normal at ruby-lang.org normal at ruby-lang.org
Sun Jul 8 09:02:27 JST 2018


normal	2018-07-08 09:02:27 +0900 (Sun, 08 Jul 2018)

  New Revision: 63879

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

  Log:
    signal.c: preserve trap(:CHLD, "IGNORE") behavior with SIGCHLD
    
    We need to preserve "IGNORE" behavior from Ruby 2.5 and earlier.
    We can't rely on SA_NOCLDWAIT any more, since we always need
    system() and MJIT to work; so we fake that behavior using
    dedicated reaper (currently in timer-thread).

  Modified files:
    trunk/internal.h
    trunk/process.c
    trunk/signal.c
    trunk/test/ruby/test_signal.rb


More information about the ruby-cvs mailing list