ruby-changes:1779
From: ko1@a...
Date: 25 Aug 2007 17:52:32 +0900
Subject: [ruby-changes:1779] ko1 - Ruby:r13270 (trunk): * cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE.
ko1 2007-08-25 17:51:59 +0900 (Sat, 25 Aug 2007) New Revision: 13270 Modified files: trunk/ChangeLog trunk/cont.c Log: * cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/cont.c?r1=13270&r2=13269 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=13270&r2=13269 Index: ChangeLog =================================================================== --- ChangeLog (revision 13269) +++ ChangeLog (revision 13270) @@ -1,3 +1,7 @@ +Sat Aug 25 17:48:51 2007 Koichi Sasada <ko1@a...> + + * cont.c: rename FIBER_STACK_SIZE to FIBER_VM_STACK_SIZE. + Sat Aug 25 17:05:05 2007 Nobuyoshi Nakada <nobu@r...> * io.c (swallow): removed condition using an unset variable. Index: cont.c =================================================================== --- cont.c (revision 13269) +++ cont.c (revision 13270) @@ -469,7 +469,7 @@ /* fiber */ /*********/ -#define FIBER_STACK_SIZE (4 * 1024) +#define FIBER_VM_STACK_SIZE (4 * 1024) VALUE rb_fiber_new(VALUE (*func)(ANYARGS), VALUE obj) @@ -489,7 +489,7 @@ cont->vm_stack = 0; th->stack = 0; - th->stack_size = FIBER_STACK_SIZE; + th->stack_size = FIBER_VM_STACK_SIZE; th->stack = ALLOC_N(VALUE, th->stack_size); th->cfp = (void *)(th->stack + th->stack_size); @@ -650,6 +650,7 @@ if (is_resume) { cont->prev = rb_fiber_current(); } + cont->value = make_passing_arg(argc, argv); if ((value = cont_store(cont)) == Qundef) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml