Project

General

Profile

« Previous | Next » 

Revision cb92817e

Added by kosaki (Motohiro KOSAKI) over 12 years ago

  • signal.c (rb_f_kill): remove rb_thread_polling() because this
    has no good effect and makes meaningless 100ms delay. 1)
    when sending signal to another process, waiting has just silly.
    2) when sending signal to current process, 100ms is often not
    enough time to wait. It depend on kernel behavior. And,
    rb_thread_polling() doesn't make sense anyway. When rb_thread_alone()
    is true, it doesn't wait at all and Process.kill() users don't
    expect threading changes Process.kill() behavior. [Bug #7560]

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