aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 12:25:48 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-17 12:25:48 +0000
commit63d3eec7c4f2aacc8f78b0d10571b0d256e813d7 (patch)
tree1b97f5c1f7c6014c6ddcf5f0e413138602f2c712
parent30414014042210a895b5df3c3eaa86981e0b2e2f (diff)
downloadruby-63d3eec7c4f2aacc8f78b0d10571b0d256e813d7.tar.gz
* 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
-rw-r--r--ChangeLog6
-rw-r--r--thread.c1
2 files changed, 6 insertions, 1 deletions
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 <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
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;