lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Thu, Mar 06, 2003 at 09:52:06AM -0300, Roberto Ierusalimschy wrote:
> > I'm guessing that lua_xmove's primary purpose is to move stuff from
> > stack-to-stack for coroutines in the same overall state.
> > 
> > What I'd like to know is if it'd work between two distinct states?
> 
> No. That would kill the garbage collector... (Each distinct state has
> an independent garbage collector.)

That's a real pity -- if lua_xmove implemented a deep-copy it'd be very
cool --oh well :-)

D.

-- 
Daniel Silverstone                               http://www.digital-scurf.org/
Hostmaster, Webmaster, and Chief Code Wibbler          Digital-Scurf Unlimited
GPG Public key available from keyring.debian.org               KeyId: 20687895
Go to a movie tonight.  Darkness becomes you.