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.104 by root, Thu Aug 14 12:48:20 2008 UTC vs.
Revision 1.105 by root, Sat Aug 30 03:07:46 2008 UTC

252The "state" of a subroutine includes the scope, i.e. lexical variables and 252The "state" of a subroutine includes the scope, i.e. lexical variables and
253the current execution state (subroutine, stack). 253the current execution state (subroutine, stack).
254 254
255=item $state->has_cctx 255=item $state->has_cctx
256 256
257Returns wether the state currently uses a cctx/C coroutine. An active 257Returns whether the state currently uses a cctx/C coroutine. An active
258state always has a cctx, as well as the main program. Other states only 258state always has a cctx, as well as the main program. Other states only
259use a cctxts when needed. 259use a cctxts when needed.
260 260
261=item $bytes = $state->rss 261=item $bytes = $state->rss
262 262

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines