mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
cont.c: update comment to match r59776 [ci skip]
* cont.c (fiber_switch): th->fiber => th->ec.fiber in comment git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d212f11a00
commit
73f3dfd3b9
1 changed files with 1 additions and 1 deletions
2
cont.c
2
cont.c
|
@ -1526,7 +1526,7 @@ fiber_switch(rb_fiber_t *fib, int argc, const VALUE *argv, int is_resume)
|
||||||
VM_UNREACHABLE(fiber_switch);
|
VM_UNREACHABLE(fiber_switch);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* th->fiber is also dead => switch to root fiber */
|
/* th->ec.fiber is also dead => switch to root fiber */
|
||||||
/* (this means we're being called from rb_fiber_terminate, */
|
/* (this means we're being called from rb_fiber_terminate, */
|
||||||
/* and the terminated fiber's return_fiber() is already dead) */
|
/* and the terminated fiber's return_fiber() is already dead) */
|
||||||
VM_ASSERT(FIBER_SUSPENDED_P(th->root_fiber));
|
VM_ASSERT(FIBER_SUSPENDED_P(th->root_fiber));
|
||||||
|
|
Loading…
Add table
Reference in a new issue