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

* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):

make it static.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ko1 2008-09-04 17:58:53 +00:00
parent ca253f40db
commit d803c45234
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Fri Sep 5 02:56:37 2008 Koichi Sasada <ko1@atdot.net>
* vm.c (thread_recycle_stack_slot, thread_recycle_stack_count):
make it static.
Fri Sep 5 02:40:38 2008 Koichi Sasada <ko1@atdot.net>
* thread.c (rb_thread_critical): removed.

4
vm.c
View file

@ -1431,8 +1431,8 @@ vm_init2(rb_vm_t *vm)
#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)