quote:Original post by stodge
<snip>
I also use ToLua to expose my C++ classes, but I only use one Lua State. That''s all you need, even for multiple Lua scripts.
When you say that you only use one Lua State for multiple Lua scripts do you mean multiple Lua scripts running asynchronously (in threads) or do you mean that you have multiple threads that are run synchronously?
Dave "Dak Lozar" Loeser