Michal Wallace writes:
> On Mon, 12 Jan 2004, Luke Palmer wrote:
> 
> > I have somewhat a predicament.  I want to create a continuation, and
> > have that continuation stored in the register stack that it closes
> > over (this is how I'm implementing a loop with continuations).
> > Unless I'm having a major braino, I don't think this is possible at
> > the moment.
> >
> > I got around this by adding two ops: new_noinit and init.  I've
> > included a patch that implements them.  Other solutions welcome.
> 
> Hmm. That sounds like Coroutine. 

Uh, how so?  Are we mixing up Continuation/Coroutine vocabulary again?

> Also, when you invoke any kind of sub with the calling conventions,
> it's already in P0. Can't you store that in a local variable on the
> invoke?

Yeah, I wouldn't normally consider it pad material, but that does seem
like the cleanest way at the moment.

Luke

Reply via email to