diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 07:25:51 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-09-28 07:25:51 +0000 |
commit | 07d12a2a5f99ed6446f86aeb6e13e6c906a238be (patch) | |
tree | 586b9deb74521daf23dcefb1623f850725d5cc33 | |
parent | 8aa618d8e27e9728b6d102bf69e3294d7e9283e6 (diff) | |
download | ruby-07d12a2a5f99ed6446f86aeb6e13e6c906a238be.tar.gz |
* vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | signal.c | 4 | ||||
-rw-r--r-- | thread.c | 6 | ||||
-rw-r--r-- | vm_core.h | 2 |
4 files changed, 10 insertions, 6 deletions
@@ -1,3 +1,7 @@ +Fri Sep 28 16:22:52 2007 Yukihiro Matsumoto <matz@ruby-lang.org> + + * vm_core.h (rb_vm_struct): fix typo: bufferd -> buffered. + Fri Sep 28 15:47:48 2007 Koichi Sasada <ko1@atdot.net> * benchmark/driver.rb: fix to output benchmark results @@ -451,7 +451,7 @@ sighandler(int sig) { rb_vm_t *vm = GET_VM(); /* fix me for Multi-VM */ ATOMIC_INC(vm->signal_buff[sig]); - ATOMIC_INC(vm->bufferd_signal_size); + ATOMIC_INC(vm->buffered_signal_size); #if !defined(BSD_SIGNAL) && !defined(POSIX_SIGNAL) ruby_signal(sig, sighandler); @@ -501,7 +501,7 @@ rb_get_next_signal(rb_vm_t *vm) rb_disable_interrupt(); { ATOMIC_DEC(vm->signal_buff[i]); - ATOMIC_DEC(vm->bufferd_signal_size); + ATOMIC_DEC(vm->buffered_signal_size); } rb_enable_interrupt(); sig = i; @@ -1884,10 +1884,10 @@ timer_thread_function(void) vm->running_thread->interrupt_flag = 1; /* check signal */ - if (vm->bufferd_signal_size && vm->main_thread->exec_signal == 0) { + if (vm->buffered_signal_size && vm->main_thread->exec_signal == 0) { vm->main_thread->exec_signal = rb_get_next_signal(vm); - thread_debug("bufferd_signal_size: %d, sig: %d\n", - vm->bufferd_signal_size, vm->main_thread->exec_signal); + thread_debug("buffered_signal_size: %d, sig: %d\n", + vm->buffered_signal_size, vm->main_thread->exec_signal); rb_thread_interrupt(vm->main_thread); } @@ -326,7 +326,7 @@ typedef struct rb_vm_struct { /* signal */ rb_atomic_t signal_buff[RUBY_NSIG]; - rb_atomic_t bufferd_signal_size; + rb_atomic_t buffered_signal_size; /* hook */ rb_event_hook_t *event_hooks; |