thread.c (rb_thread_s_control_interrupt,
rb_thread_s_check_interrupt): added for
Thread.control_intgerrupt and Thread.check_interrupt.
See details on rdoc.
I'll make an ticket for this feature.
test/ruby/test_thread.rb: add a test for Thread.control_intgerrupt.
thread.c (rb_threadptr_raise): make a new exception object
even if argc is 0.
thread.c (rb_thread_kill): kill thread immediately if target thread
is current thread.
rb_thread_s_check_interrupt): added for
Thread.control_intgerrupt and Thread.check_interrupt.
See details on rdoc.
I'll make an ticket for this feature.
even if argc is 0.
is current thread.
CHECK_INTS while/after blocking operation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e