diff options
author | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-19 04:40:22 +0000 |
---|---|---|
committer | kosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-03-19 04:40:22 +0000 |
commit | 4ea96ece8400f1c6caa8a2429f6d93f15434238f (patch) | |
tree | 577fa0eb2d207dca593a9a0e8316dde7fa15ecfb /ChangeLog | |
parent | b945ad289f14c1b1ba65bdd9a4e1106f3cee134c (diff) |
* internal.h: added a declaration of ruby_kill().
* thread.c (ruby_kill): helper function of kill().
* signal.c (rb_f_kill): use ruby_kill() instead of kill().
* signal.c (rb_f_kill): call rb_thread_execute_interrupts()
to ensure that make SignalException if sent a signal
to myself. [Bug #7951] [ruby-core:52864]
* vm_core.h (typedef struct rb_thread_struct): added
th->interrupt_cond.
* thread.c (rb_threadptr_interrupt_common): added to
initialization of th->interrupt_cond.
* thread.c (thread_create_core): ditto.
* test/ruby/test_signal.rb (TestSignal#test_hup_me): test for
the above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,22 @@ +Sat Mar 16 01:44:29 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com> + + * internal.h: added a declaration of ruby_kill(). + * thread.c (ruby_kill): helper function of kill(). + + * signal.c (rb_f_kill): use ruby_kill() instead of kill(). + * signal.c (rb_f_kill): call rb_thread_execute_interrupts() + to ensure that make SignalException if sent a signal + to myself. [Bug #7951] [ruby-core:52864] + + * vm_core.h (typedef struct rb_thread_struct): added + th->interrupt_cond. + * thread.c (rb_threadptr_interrupt_common): added to + initialization of th->interrupt_cond. + * thread.c (thread_create_core): ditto. + + * test/ruby/test_signal.rb (TestSignal#test_hup_me): test for + the above. + Sat Mar 16 00:42:39 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com> * io.c (linux_iocparm_len): enable only exist _IOC_SIZE(). |