diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 02:50:56 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-06-28 02:50:56 +0000 |
commit | d98afe3ae2bfcef9ca5765e72f159d863b113e3b (patch) | |
tree | de833160e55407676db31ef7c2ebeca124a4a973 /vm_core.h | |
parent | b3f38b57e72a9904e6c337196d5077638929e9c2 (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.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |