lua-users home
lua-l archive

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

It's perfectly possible to do this with lua_newthread if you need a
shared global space or simply lua_open if each has its own global
space.  Just give each script its own lua_State and you'll be set.
I apologize for the newbie questions.  But how do I step the thread a line/bytecode/etc?  It seems that if I call lua_resume(), then it goes until the LUA thread yields?