[前][次][番号順一覧][スレッド一覧]

ruby-changes:48941

From: normal <ko1@a...>
Date: Thu, 7 Dec 2017 06:51:17 +0900 (JST)
Subject: [ruby-changes:48941] normal:r61060 (trunk): cont.c: update comment for ec refactoring

normal	2017-12-07 06:51:10 +0900 (Thu, 07 Dec 2017)

  New Revision: 61060

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61060

  Log:
    cont.c: update comment for ec refactoring
    
    * cont.c (fiber_switch): update comment (ec.fiber => ec->fiber_ptr)

  Modified files:
    trunk/cont.c
Index: cont.c
===================================================================
--- cont.c	(revision 61059)
+++ cont.c	(revision 61060)
@@ -1655,7 +1655,7 @@ fiber_switch(rb_fiber_t *fib, int argc, https://github.com/ruby/ruby/blob/trunk/cont.c#L1655
 	    VM_UNREACHABLE(fiber_switch);
 	}
 	else {
-	    /* th->ec.fiber is also dead => switch to root fiber */
+	    /* th->ec->fiber_ptr is also dead => switch to root fiber */
 	    /* (this means we're being called from rb_fiber_terminate, */
 	    /* and the terminated fiber's return_fiber() is already dead) */
 	    VM_ASSERT(FIBER_SUSPENDED_P(th->root_fiber));

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]