From 5b8ce2298ae990473a0356eb6bd5a949001aa70c Mon Sep 17 00:00:00 2001 From: ko1 Date: Wed, 28 Jun 2017 02:50:56 +0000 Subject: move storages to ec. * vm_core.h (rb_thread_t): move storages to rb_execution_context_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59190 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- vm_core.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'vm_core.h') diff --git a/vm_core.h b/vm_core.h index dc9043497f..4a21ba27b0 100644 --- a/vm_core.h +++ b/vm_core.h @@ -743,6 +743,11 @@ typedef struct rb_thread_context_struct { int safe_level; int raised_flag; + + /* storage (ec (fiber) local) */ + st_table *local_storage; + VALUE local_storage_recursive_hash; + VALUE local_storage_recursive_hash_for_trace; } rb_execution_context_t; typedef struct rb_thread_struct { @@ -806,11 +811,6 @@ typedef struct rb_thread_struct { VALUE locking_mutex; struct rb_mutex_struct *keeping_mutexes; - /* storage */ - st_table *local_storage; - VALUE local_storage_recursive_hash; - VALUE local_storage_recursive_hash_for_trace; - rb_thread_list_t *join_list; VALUE first_proc; -- cgit v1.2.3