| parrotcode retcontinuation PMC | |
| Docs | FAQ | Download | Examples | Talks | Resources | Perl 6 | Languages | Who's Who | Donors | Cage Cleaners | Wiki | |
src/pmc/retcontinuation.pmc - Return Continuation
RetContinuation extends Continuation.
A return continuation is a one shot Continuation. It gets recycled immediately after invocation.
void init()Initializes the continuation.
PMC *cloneReturn a new Continuation PMC with the context of SELF. Note: the returned object is not a RetContinuation and creating a real Continuation invalidates all RetContinuation all the way up the call chain that is, these can't be recycled, they get persistent until the GC gets at them.
opcode_t *invoke(void *next)Transfers control to the calling context, and frees the current context.
Initial revision by sean 2002/08/04.
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|