diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-30 04:17:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-30 04:17:59 +0000 |
commit | 29707c1d73f35c15d118ea5ca2330e85ac475dd6 (patch) | |
tree | f5f5da12d8302369aec601b13c5f8bfa7d2f8d5b /cont.c | |
parent | 3df94d7b5d7129d50443b77f869835b958423fd5 (diff) |
cont.c: fiber local svar
* cont.c (cont_restore_thread): svar should be separate per fibers.
[ruby-core:51331] [Bug #7678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
-rw-r--r-- | cont.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -512,6 +512,8 @@ cont_restore_thread(rb_context_t *cont) th->protect_tag = sth->protect_tag; th->errinfo = sth->errinfo; th->first_proc = sth->first_proc; + th->root_lep = sth->root_lep; + th->root_svar = sth->root_svar; } #if FIBER_USE_NATIVE |