From 63d3eec7c4f2aacc8f78b0d10571b0d256e813d7 Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 17 May 2011 12:25:48 +0000 Subject: [PATCH] * 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 --- ChangeLog | 6 ++++++ thread.c | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fba82c0db8..c52d28ebb7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue May 17 21:24:04 2011 KOSAKI Motohiro + + * 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 * vm_core.h (rb_thread_struct): add volatile to diff --git a/thread.c b/thread.c index 6f7118de47..8ec6d9bafb 100644 --- a/thread.c +++ b/thread.c @@ -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;