lua-users home
lua-l archive

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


Steve Dekorte wrote:
> 
> erik@hougaard.com (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)
> 
> Steve

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 ?

Erik