Александр Киранов wrote: > Is there a way to set some killswitch boolean variable or some flag in > lua_State before making JIT-ed code to abort it execution from outside > executing script (other OS thread)? https://www.freelists.org/post/luajit/Efficient-query-timeouts-in-LuaJIT,1 --Mike