[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Multithreading
- From: "Tim McDaniel" <tim@...>
- Date: Mon, 14 Mar 2005 11:45:23 -0600
I understand that the child lua_States created with lua_newthread share their global table with the parent lua_State. It is also
apparent that Lua has no inherent synchronization. I am aware of LuaThread, but let's ignore that for now... :)
So, my question is...
If I have a parent lua_State loaded with all my script, can I create child lua_States and safely call them from multiple threads, as
long as they do not modify the global table?