I'm using VS2008, lua 5.1 and luabind 0.9.1.
Calling Lua function from C++ works just fine.
If there're several threads and Lua function is invoked from each thread, has this situation any problem? There is only ONE Lua state.
In that situation, should I have more Lua state? Which one is common?
That's not OK just like that. The Lua users wiki has a nice page about threading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With