c++ - Is it possible to share a table between multiple lua_State in a single threaded application? -
i have table in 1 lua script want share other lua scripts, loaded in different lua_state, can call methods in table. possible that?
no, unless copy data between states manually. lua states separate. lua threads on other hand share data. not confuse os threads.
Comments
Post a Comment