1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

thread_sync.c: static classes

We do not want to waste space by exposing globals to other
objects.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2015-12-28 21:52:15 +00:00
parent a3b53cd991
commit 5ad289b133
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
Tue Dec 29 06:50:42 2015 Eric Wong <e@80x24.org>
* thread_sync.c: static classes
Tue Dec 29 05:30:30 2015 Eric Wong <e@80x24.org>
* lib/resolv.rb (Resolv::IPv6.create): avoid modifying frozen

View file

@ -1,7 +1,7 @@
/* 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 */