[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Copy Objects between states
- From: erik@... (Erik Hougaard)
- Date: Wed, 25 Nov 1998 09:08:12 +0100
Steve Dekorte wrote:
> firstname.lastname@example.org (Erik Hougaard) wrote:
> > So what if I need the tables also (And perhaps functions) ?
> If you're using threads in order to write a server application
> on the net, you might consider using continuations instead.
> (using the UNIX select() function to make your server event driven)
I'm using threads (Both in the server and client applications), but not
for making the server but tons 'O stuff - it has to be multithreaded!
And I'm using threads to make it possible for two lua programs to run at
the same time with different states...
But back to my original question - How do I Clone a lua object -- forget
states - how do I actual clone a object ?