mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
2ff79611ea
commit
02b501323e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Nov 1 06:20:44 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* 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]
|
||||||
|
|
||||||
Fri Nov 1 01:08:33 2013 Koichi Sasada <ko1@atdot.net>
|
Fri Nov 1 01:08:33 2013 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
* benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
|
* benchmark/gc/gcbench.rb: print HWM (high water mark) if possible.
|
||||||
|
|
2
thread.c
2
thread.c
|
@ -390,8 +390,8 @@ typedef struct rb_mutex_struct
|
||||||
rb_nativethread_lock_t lock;
|
rb_nativethread_lock_t lock;
|
||||||
rb_nativethread_cond_t cond;
|
rb_nativethread_cond_t cond;
|
||||||
struct rb_thread_struct volatile *th;
|
struct rb_thread_struct volatile *th;
|
||||||
int cond_waiting;
|
|
||||||
struct rb_mutex_struct *next_mutex;
|
struct rb_mutex_struct *next_mutex;
|
||||||
|
int cond_waiting;
|
||||||
int allow_trap;
|
int allow_trap;
|
||||||
} rb_mutex_t;
|
} rb_mutex_t;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue