[前][次][番号順一覧][スレッド一覧]

ruby-changes:19569

From: kosaki <ko1@a...>
Date: Tue, 17 May 2011 21:25:55 +0900 (JST)
Subject: [ruby-changes:19569] kosaki:r31610 (trunk): * thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.

kosaki	2011-05-17 21:25:48 +0900 (Tue, 17 May 2011)

  New Revision: 31610

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31610

  Log:
    * thread.c (rb_mutex_lock): remove remove_signal_thread_list() call.
      It's meaningless because lock_interrupt doesn't call
      add_signal_thread_list().

  Modified files:
    trunk/ChangeLog
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31609)
+++ ChangeLog	(revision 31610)
@@ -1,3 +1,9 @@
+Tue May 17 21:24:04 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* 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@g...>
 
 	* vm_core.h (rb_thread_struct): add volatile to
Index: thread.c
===================================================================
--- thread.c	(revision 31609)
+++ thread.c	(revision 31610)
@@ -3535,7 +3535,6 @@
 		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;

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]