[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Question about Lua 5.0 and lua_xmove
- From: Daniel Silverstone <dsilvers@...>
- Date: Thu, 6 Mar 2003 13:02:37 +0000
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.