Benjamin Goldberg <[EMAIL PROTECTED]> wrote: > inline op mthread_create(inconst INT) { > opcode_t *dest = PTR2OPCODE_T(CUR_OPCODE + $1)); > PMC * p = new_ret_continuation_pmc(interpreter, dest)
Please note that the ret_continuation is intended for returning only, not for executing code on. (it just has pointers to the original interpreter context that get swapped in on invoke() - no COW copies like the normal Continuation class) leo