lua-users home
lua-l archive

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

David Burgess wrote:

lua 5.0.2
I have a process that has created 2 lua VMs

e.g. L1 = lua_open();
L2 = lua_open();

These lua instances know nothing about eachother.
Can I use lua_xmove to copy data from one to the other?
Or is xmove only for threads/coroutines?


This has been answered before on the list. No - you cannot use xmove to transfer between states, it will crash the garbage collector.