summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-28 02:50:56 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-06-28 02:50:56 +0000
commitd98afe3ae2bfcef9ca5765e72f159d863b113e3b (patch)
treede833160e55407676db31ef7c2ebeca124a4a973 /vm_core.h
parentb3f38b57e72a9904e6c337196d5077638929e9c2 (diff)
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
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h10
1 files changed, 5 insertions, 5 deletions
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;