lua-users home
lua-l archive

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

> In my system I have 2 Lua tasks that run totally independently, they are
> mutually exclusive however, so when the other Lua state needs to run, I shut
> down the current task and Lua state and start up a new task and a new Lua
> state.

Just because they are mutually exclusive, doesn't mean you have to close the
lua state. Is there something else going on to cause you to do that?
Can't you leave
them both in existence, and just run one, or the other?