Project

General

Profile

« Previous | Next » 

Revision 6c3f1461

Added by ko1 (Koichi Sasada) almost 7 years ago

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.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e