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

Comparing Coro/Coro/State.xs (file contents):
Revision 1.165 by root, Wed Sep 26 19:26:48 2007 UTC vs.
Revision 1.166 by root, Wed Sep 26 21:11:28 2007 UTC

1481void 1481void
1482trace (Coro::State coro, int enable = 0) 1482trace (Coro::State coro, int enable = 0)
1483 CODE: 1483 CODE:
1484 if (enable) 1484 if (enable)
1485 { 1485 {
1486 if (coro->cctx && coro->cctx->flags & CC_TRACE)
1487 XSRETURN_EMPTY;
1488
1486 if (coro->flags & CF_RUNNING) 1489 if (coro->flags & CF_RUNNING)
1487 croak ("cannot enable tracing on running coroutine"); 1490 croak ("cannot enable tracing on running coroutine");
1488 1491
1489 if (coro->cctx) 1492 if (coro->cctx)
1490 croak ("cannot enable tracing on coroutine with custom stack"); 1493 croak ("cannot enable tracing on coroutine with custom stack");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines