I am reading this lua thread tutorial and my lua code may be accessed by other threads at anytime and all I wan to do is to protect the luaState from corrupting.
I just searched luajit's source but found there is no lua_lock/lua_unlock in place. So is that possible to add such lock/unlock to luajit? If yes, how to?
BTW, I am using Visual C++ on Windows