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

ruby-changes:7624

From: ko1 <ko1@a...>
Date: Fri, 5 Sep 2008 02:59:06 +0900 (JST)
Subject: [ruby-changes:7624] Ruby:r19145 (trunk): * vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):

ko1	2008-09-05 02:58:53 +0900 (Fri, 05 Sep 2008)

  New Revision: 19145

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

  Log:
    * vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
      make it static.

  Modified files:
    trunk/ChangeLog
    trunk/vm.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 19144)
+++ ChangeLog	(revision 19145)
@@ -1,3 +1,8 @@
+Fri Sep  5 02:56:37 2008  Koichi Sasada  <ko1@a...>
+
+	* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count): 
+	  make it static.
+
 Fri Sep  5 02:40:38 2008  Koichi Sasada  <ko1@a...>
 
 	* thread.c (rb_thread_critical): removed.
Index: vm.c
===================================================================
--- vm.c	(revision 19144)
+++ vm.c	(revision 19145)
@@ -1431,8 +1431,8 @@
 
 #if USE_THREAD_DATA_RECYCLE
 #define RECYCLE_MAX 64
-VALUE *thread_recycle_stack_slot[RECYCLE_MAX];
-int thread_recycle_stack_count = 0;
+static VALUE *thread_recycle_stack_slot[RECYCLE_MAX];
+static int thread_recycle_stack_count = 0;
 
 static VALUE *
 thread_recycle_stack(int size)

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

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