diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-08 16:14:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-06-08 16:14:06 +0000 |
commit | 79b62da9b421527917bbf9eecd657f369b8175fc (patch) | |
tree | 9bd163bbe7aa081d1577187017e25880450cf63f /signal.c | |
parent | 33a8def1e1f0a0cef4e88e26e8870e6806092cd9 (diff) |
* thread.c: rename functions which require a parameter
"rb_thread_t *", the prefix to be rb_threadptr_ instead of
rb_thread_.
* thread.c (rb_thread_add_event_hook(), rb_thread_remove_event_hook):
change the parameter type from rb_thread_t * to VALUE.
* eval.c, eval_error.c, eval_intern.h, signal.c, vm_core.h, vm_eval.c:
ditto.
* include/ruby/intern.h: remove decl of rb_thread_signal_raise() and
rb_thread_signal_exit().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'signal.c')
-rw-r--r-- | signal.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -664,12 +664,12 @@ rb_signal_exec(rb_thread_t *th, int sig) #ifdef SIGUSR2 case SIGUSR2: #endif - rb_thread_signal_raise(th, sig); + rb_threadptr_signal_raise(th, sig); break; } } else if (cmd == Qundef) { - rb_thread_signal_exit(th); + rb_threadptr_signal_exit(th); } else { signal_exec(cmd, safe, sig); |