* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.

It's meaningless because lock_interrupt doesn't call
  add_signal_thread_list().



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2011-05-17 12:25:48 +00:00
parent 3041401404
commit 63d3eec7c4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue May 17 21:24:04 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
It's meaningless because lock_interrupt doesn't call
add_signal_thread_list().
Tue May 17 20:20:49 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* vm_core.h (rb_thread_struct): add volatile to

View File

@ -3535,7 +3535,6 @@ rb_mutex_lock(VALUE self)
interrupted = lock_func(th, mutex, timeout_ms);
});
th->transition_for_lock = 0;
remove_signal_thread_list(th);
reset_unblock_function(th, &oldubf);
th->locking_mutex = Qfalse;