ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Coro/State.pm
(Generate patch)

Comparing Coro/Coro/State.pm (file contents):
Revision 1.58 by root, Sun Nov 26 02:54:55 2006 UTC vs.
Revision 1.59 by root, Sun Nov 26 17:35:42 2006 UTC

90 90
91# this is called for each newly created C perl environment 91# this is called for each newly created C perl environment
92# be careful, this is not a normal function, it is never 92# be careful, this is not a normal function, it is never
93# being "entersub"'d and never must "leavesub"'d 93# being "entersub"'d and never must "leavesub"'d
94sub cctx_init { 94sub cctx_init {
95# warn "coroutine header: $cctx_stack $cctx_restartop <@_>\n";#d#
96 ++$cctx_count; 95 ++$cctx_count;
97 _set_stacklevel $cctx_stack; 96 _set_stacklevel $cctx_stack;
98 97
99 # this will jump to the actual coroutine op 98 # this will jump to the actual coroutine op
100 _nonlocal_goto $cctx_restartop; 99 _nonlocal_goto $cctx_restartop;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines