From 02b501323e3cfd2ce12ac11af8c1169ad3f51523 Mon Sep 17 00:00:00 2001 From: kosaki Date: Thu, 31 Oct 2013 21:27:40 +0000 Subject: * thread.c (rb_mutex_struct): reduce rb_mutex_t size by 8 bytes on 64bit platform. Patch by Eric Wong. [Feature #9068][ruby-core:58114] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thread.c') diff --git a/thread.c b/thread.c index ef869c6c28..38a47c8798 100644 --- a/thread.c +++ b/thread.c @@ -390,8 +390,8 @@ typedef struct rb_mutex_struct rb_nativethread_lock_t lock; rb_nativethread_cond_t cond; struct rb_thread_struct volatile *th; - int cond_waiting; struct rb_mutex_struct *next_mutex; + int cond_waiting; int allow_trap; } rb_mutex_t; -- cgit v1.2.3