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

ruby-changes:20055

From: kosaki <ko1@a...>
Date: Wed, 15 Jun 2011 23:13:12 +0900 (JST)
Subject: [ruby-changes:20055] kosaki:r32102 (trunk): * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used

kosaki	2011-06-15 23:13:01 +0900 (Wed, 15 Jun 2011)

  New Revision: 32102

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

  Log:
    * thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
      since r32021.

  Modified files:
    trunk/ChangeLog
    trunk/thread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32101)
+++ ChangeLog	(revision 32102)
@@ -1,3 +1,8 @@
+Wed Jun 15 23:11:35 2011  KOSAKI Motohiro  <kosaki.motohiro@g...>
+
+	* thread.c: remove BLOCKING_REGION_CORE() macro. It's no longer used
+	  since r32021.
+
 Wed Jun 15 21:00:47 2011  Martin Bosslet  <Martin.Bosslet@g...>
 
 	* test/openssl/test_config.rb: execute based on the existence of the
Index: thread.c
===================================================================
--- thread.c	(revision 32101)
+++ thread.c	(revision 32102)
@@ -114,13 +114,6 @@
   rb_thread_set_current(_th_stored); \
 } while(0)
 
-#define BLOCKING_REGION_CORE(exec) do { \
-    GVL_UNLOCK_BEGIN(); {\
-	    exec; \
-    } \
-    GVL_UNLOCK_END(); \
-} while(0);
-
 #define blocking_region_begin(th, region, func, arg) \
   do { \
     (region)->prev_status = (th)->status; \

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

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