[ruby-cvs:66243] ko1:r59066 (trunk): remove ruby_kill() introduced for [Bug #7951].

ko1 at ruby-lang.org ko1 at ruby-lang.org
Mon Jun 12 13:52:25 JST 2017


ko1	2017-06-12 13:52:25 +0900 (Mon, 12 Jun 2017)

  New Revision: 59066

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

  Log:
    remove ruby_kill() introduced for  [Bug #7951].
    
    * thread.c (rbuy_kill): removed. This function is used
      with SIGSEGV, SIGBUS, SIGKILL, SIGILL, SIGFPE and SIGSTOP
      and these signals are affect immediately. So that `kill(2)'
      is enough for them.
    
    * signal.c (rb_f_kill): ditto.
    
    * vm_core.h (rb_thread_t::interrupt_cond): removed because
      only `ruby_kill()' uses this field.
    
    * test/ruby/test_signal.rb: Without this patch sending SIGSTOP to own
      process wait another interrupt even if another process sends SIGCONT.

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


More information about the ruby-cvs mailing list