ruby-changes:19907
From: nagachika <ko1@a...>
Date: Wed, 8 Jun 2011 21:50:10 +0900 (JST)
Subject: [ruby-changes:19907] nagachika:r31954 (trunk): * cont.c (root_fiber_alloc): set root fiber's status RUNNING.
nagachika 2011-06-08 21:50:03 +0900 (Wed, 08 Jun 2011) New Revision: 31954 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31954 Log: * cont.c (root_fiber_alloc): set root fiber's status RUNNING. in cont_mark() only RUNNING fiber's machine stack is marked. root fiber's status should be RUNNING at the beginning regardless of FIBER_USE_NATIVE. Modified files: trunk/ChangeLog trunk/cont.c Index: ChangeLog =================================================================== --- ChangeLog (revision 31953) +++ ChangeLog (revision 31954) @@ -1,3 +1,10 @@ +Wed Jun 8 21:38:57 2011 CHIKANAGA Tomoyuki <nagachika00@g...> + + * cont.c (root_fiber_alloc): set root fiber's status RUNNING. + in cont_mark() only RUNNING fiber's machine stack is marked. + root fiber's status should be RUNNING at the beginning regardless of + FIBER_USE_NATIVE. + Tue Jun 7 20:50:11 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * doc/irb/irb.rd: fix typo. patch by Nobuhiro IMAI. Index: cont.c =================================================================== --- cont.c (revision 31953) +++ cont.c (revision 31954) @@ -1148,8 +1148,8 @@ #ifdef _WIN32 fib->fib_handle = ConvertThreadToFiber(0); #endif +#endif fib->status = RUNNING; -#endif fib->prev_fiber = fib->next_fiber = fib; return fib; -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/