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

ruby-changes:41292

From: normal <ko1@a...>
Date: Tue, 29 Dec 2015 06:52:23 +0900 (JST)
Subject: [ruby-changes:41292] normal:r53364 (trunk): thread_sync.c: static classes

normal	2015-12-29 06:52:15 +0900 (Tue, 29 Dec 2015)

  New Revision: 53364

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

  Log:
    thread_sync.c: static classes
    
    We do not want to waste space by exposing globals to other
    objects.

  Modified files:
    trunk/ChangeLog
    trunk/thread_sync.c
Index: thread_sync.c
===================================================================
--- thread_sync.c	(revision 53363)
+++ thread_sync.c	(revision 53364)
@@ -1,7 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/thread_sync.c#L1
 /* included by thread.c */
 
-VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
-VALUE rb_eClosedQueueError;
+static VALUE rb_cMutex, rb_cQueue, rb_cSizedQueue, rb_cConditionVariable;
+static VALUE rb_eClosedQueueError;
 
 /* Mutex */
 
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53363)
+++ ChangeLog	(revision 53364)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Dec 29 06:50:42 2015  Eric Wong  <e@8...>
+
+	* thread_sync.c: static classes
+
 Tue Dec 29 05:30:30 2015  Eric Wong  <e@8...>
 
 	* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen

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

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