[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] POSIX threads for Lua 5.1
- From: Javier Guerra <javier@...>
- Date: Mon, 10 Apr 2006 07:36:48 -0500
On Monday 10 April 2006 5:38 am, Mildred wrote:
> I tried to use pluto, in order to copy all lua objects, but I didn't
> suceed. I'm now trying to create a lua_xcopy function that would be
> able to copy lua objects from one lua state to another, without making
> links betwen the two lua states. But it's not that easy (especially for
> closures/functions and threads :)
if you're using pthreads, and protecting the lua states with locks; why do you
need to copy objects? if a lua thread is derived from the original state, it
can directly access any object there.
--
Javier
Attachment:
pgpBpnzJpZhGP.pgp
Description: PGP signature